Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -24,44 +24,44 @@ namespace Server.Commands.Generic
public bool ListOptimized
{
get{ return m_ListOptimized; }
set{ m_ListOptimized = value; }
get => m_ListOptimized;
set => m_ListOptimized = value;
}
public string[] Commands
{
get{ return m_Commands; }
set{ m_Commands = value; }
get => m_Commands;
set => m_Commands = value;
}
public string Usage
{
get{ return m_Usage; }
set{ m_Usage = value; }
get => m_Usage;
set => m_Usage = value;
}
public string Description
{
get{ return m_Description; }
set{ m_Description = value; }
get => m_Description;
set => m_Description = value;
}
public AccessLevel AccessLevel
{
get{ return m_AccessLevel; }
set{ m_AccessLevel = value; }
get => m_AccessLevel;
set => m_AccessLevel = value;
}
public ObjectTypes ObjectTypes
{
get{ return m_ObjectTypes; }
set{ m_ObjectTypes = value; }
get => m_ObjectTypes;
set => m_ObjectTypes = value;
}
public CommandSupport Supports
{
get{ return m_Implementors; }
set{ m_Implementors = value; }
get => m_Implementors;
set => m_Implementors = value;
}
public BaseCommand()

View file

@ -60,7 +60,7 @@ namespace Server.Commands.Generic
private static List<BaseCommand> m_AllCommands = new List<BaseCommand>();
public static List<BaseCommand> AllCommands{ get{ return m_AllCommands; } }
public static List<BaseCommand> AllCommands => m_AllCommands;
public static void Register( BaseCommand command )
{