Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -25,11 +25,7 @@ namespace Server.Diagnostics {
|
|||
public class TimerProfile : BaseProfile {
|
||||
private static Dictionary<string, TimerProfile> _profiles = new Dictionary<string, TimerProfile>();
|
||||
|
||||
public static IEnumerable<TimerProfile> Profiles {
|
||||
get {
|
||||
return _profiles.Values;
|
||||
}
|
||||
}
|
||||
public static IEnumerable<TimerProfile> Profiles => _profiles.Values;
|
||||
|
||||
public static TimerProfile Acquire( string name ) {
|
||||
if ( !Core.Profiling ) {
|
||||
|
|
@ -48,30 +44,18 @@ namespace Server.Diagnostics {
|
|||
private long _created, _started, _stopped;
|
||||
|
||||
public long Created {
|
||||
get {
|
||||
return _created;
|
||||
}
|
||||
set {
|
||||
_created = value;
|
||||
}
|
||||
get => _created;
|
||||
set => _created = value;
|
||||
}
|
||||
|
||||
public long Started {
|
||||
get {
|
||||
return _started;
|
||||
}
|
||||
set {
|
||||
_started = value;
|
||||
}
|
||||
get => _started;
|
||||
set => _started = value;
|
||||
}
|
||||
|
||||
public long Stopped {
|
||||
get {
|
||||
return _stopped;
|
||||
}
|
||||
set {
|
||||
_stopped = value;
|
||||
}
|
||||
get => _stopped;
|
||||
set => _stopped = value;
|
||||
}
|
||||
|
||||
public TimerProfile( string name )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue