Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -10,10 +10,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
private static Dictionary<string, ExtensionInfo> m_Table = new Dictionary<string, ExtensionInfo>( StringComparer.InvariantCultureIgnoreCase );
|
||||
|
||||
public static Dictionary<string, ExtensionInfo> Table
|
||||
{
|
||||
get { return m_Table; }
|
||||
}
|
||||
public static Dictionary<string, ExtensionInfo> Table => m_Table;
|
||||
|
||||
public static void Register( ExtensionInfo ext )
|
||||
{
|
||||
|
|
@ -27,30 +24,15 @@ namespace Server.Commands.Generic
|
|||
|
||||
private ExtensionConstructor m_Constructor;
|
||||
|
||||
public int Order
|
||||
{
|
||||
get { return m_Order; }
|
||||
}
|
||||
public int Order => m_Order;
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return m_Name; }
|
||||
}
|
||||
public string Name => m_Name;
|
||||
|
||||
public int Size
|
||||
{
|
||||
get { return m_Size; }
|
||||
}
|
||||
public int Size => m_Size;
|
||||
|
||||
public bool IsFixedSize
|
||||
{
|
||||
get { return ( m_Size >= 0 ); }
|
||||
}
|
||||
public bool IsFixedSize => ( m_Size >= 0 );
|
||||
|
||||
public ExtensionConstructor Constructor
|
||||
{
|
||||
get { return m_Constructor; }
|
||||
}
|
||||
public ExtensionConstructor Constructor => m_Constructor;
|
||||
|
||||
public ExtensionInfo( int order, string name, int size, ExtensionConstructor constructor )
|
||||
{
|
||||
|
|
@ -141,25 +123,13 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public abstract ExtensionInfo Info { get; }
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return Info.Name; }
|
||||
}
|
||||
public string Name => Info.Name;
|
||||
|
||||
public int Size
|
||||
{
|
||||
get { return Info.Size; }
|
||||
}
|
||||
public int Size => Info.Size;
|
||||
|
||||
public bool IsFixedSize
|
||||
{
|
||||
get { return Info.IsFixedSize; }
|
||||
}
|
||||
public bool IsFixedSize => Info.IsFixedSize;
|
||||
|
||||
public int Order
|
||||
{
|
||||
get { return Info.Order; }
|
||||
}
|
||||
public int Order => Info.Order;
|
||||
|
||||
public virtual void Optimize( Mobile from, Type baseType, ref AssemblyEmitter assembly )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue