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

@ -47,35 +47,15 @@ namespace Server.Diagnostics {
private Stopwatch _stopwatch;
public string Name {
get {
return _name;
}
}
public string Name => _name;
public long Count {
get {
return _count;
}
}
public long Count => _count;
public TimeSpan AverageTime {
get {
return TimeSpan.FromTicks( _totalTime.Ticks / Math.Max( 1, _count ) );
}
}
public TimeSpan AverageTime => TimeSpan.FromTicks( _totalTime.Ticks / Math.Max( 1, _count ) );
public TimeSpan PeakTime {
get {
return _peakTime;
}
}
public TimeSpan PeakTime => _peakTime;
public TimeSpan TotalTime {
get {
return _totalTime;
}
}
public TimeSpan TotalTime => _totalTime;
protected BaseProfile( string name ) {
_name = name;