Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -43,16 +43,14 @@ namespace Server.Engines.Reports
|
|||
|
||||
public sealed class PersistableType
|
||||
{
|
||||
private string m_Name;
|
||||
private ConstructCallback m_Constructor;
|
||||
public string Name { get; }
|
||||
|
||||
public string Name => m_Name;
|
||||
public ConstructCallback Constructor => m_Constructor;
|
||||
public ConstructCallback Constructor { get; }
|
||||
|
||||
public PersistableType( string name, ConstructCallback constructor )
|
||||
{
|
||||
m_Name = name;
|
||||
m_Constructor = constructor;
|
||||
Name = name;
|
||||
Constructor = constructor;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue