Global usings and file scoped namespaces

This commit is contained in:
Kwoth
2021-12-19 05:14:11 +01:00
parent bc31dae965
commit ee33313519
548 changed files with 47528 additions and 49115 deletions

View File

@@ -1,20 +1,17 @@
using System;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions
public class AlreadyJoinedException : Exception
{
public class AlreadyJoinedException : Exception
public AlreadyJoinedException()
{
public AlreadyJoinedException()
{
}
public AlreadyJoinedException(string message) : base(message)
{
}
public AlreadyJoinedException(string message, Exception innerException) : base(message, innerException)
{
}
}
}
public AlreadyJoinedException(string message) : base(message)
{
}
public AlreadyJoinedException(string message, Exception innerException) : base(message, innerException)
{
}
}

View File

@@ -1,19 +1,16 @@
using System;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions
public class AlreadyStartedException : Exception
{
public class AlreadyStartedException : Exception
public AlreadyStartedException()
{
public AlreadyStartedException()
{
}
public AlreadyStartedException(string message) : base(message)
{
}
public AlreadyStartedException(string message, Exception innerException) : base(message, innerException)
{
}
}
}
public AlreadyStartedException(string message) : base(message)
{
}
public AlreadyStartedException(string message, Exception innerException) : base(message, innerException)
{
}
}

View File

@@ -1,19 +1,16 @@
using System;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions
public class AnimalRaceFullException : Exception
{
public class AnimalRaceFullException : Exception
public AnimalRaceFullException()
{
public AnimalRaceFullException()
{
}
public AnimalRaceFullException(string message) : base(message)
{
}
public AnimalRaceFullException(string message, Exception innerException) : base(message, innerException)
{
}
}
}
public AnimalRaceFullException(string message) : base(message)
{
}
public AnimalRaceFullException(string message, Exception innerException) : base(message, innerException)
{
}
}

View File

@@ -1,19 +1,16 @@
using System;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions
public class NotEnoughFundsException : Exception
{
public class NotEnoughFundsException : Exception
public NotEnoughFundsException()
{
public NotEnoughFundsException()
{
}
public NotEnoughFundsException(string message) : base(message)
{
}
public NotEnoughFundsException(string message, Exception innerException) : base(message, innerException)
{
}
}
}
public NotEnoughFundsException(string message) : base(message)
{
}
public NotEnoughFundsException(string message, Exception innerException) : base(message, innerException)
{
}
}