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

@ -32,14 +32,8 @@ namespace Server.Engines.Reports
/// </summary>
public Server.Engines.Reports.PersistableObject this[int index]
{
get
{
return ((Server.Engines.Reports.PersistableObject)(this.List[index]));
}
set
{
this.List[index] = value;
}
get => ((Server.Engines.Reports.PersistableObject)(this.List[index]));
set => this.List[index] = value;
}
/// <summary>

View file

@ -46,8 +46,8 @@ namespace Server.Engines.Reports
private string m_Name;
private ConstructCallback m_Constructor;
public string Name{ get{ return m_Name; } }
public ConstructCallback Constructor{ get{ return m_Constructor; } }
public string Name => m_Name;
public ConstructCallback Constructor => m_Constructor;
public PersistableType( string name, ConstructCallback constructor )
{

View file

@ -65,13 +65,7 @@ namespace Server.Engines.Reports
private bool m_HasChild;
public override bool HasChild
{
get
{
return m_HasChild;
}
}
public override bool HasChild => m_HasChild;
private bool m_WasEmptyElement;