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
|
|
@ -51,17 +51,14 @@ namespace Server.Multis
|
|||
|
||||
public class DecayStageInfo
|
||||
{
|
||||
private TimeSpan m_MinDuration;
|
||||
private TimeSpan m_MaxDuration;
|
||||
public TimeSpan MinDuration { get; }
|
||||
|
||||
public TimeSpan MinDuration => m_MinDuration;
|
||||
|
||||
public TimeSpan MaxDuration => m_MaxDuration;
|
||||
public TimeSpan MaxDuration { get; }
|
||||
|
||||
public DecayStageInfo( TimeSpan min, TimeSpan max )
|
||||
{
|
||||
m_MinDuration = min;
|
||||
m_MaxDuration = max;
|
||||
MinDuration = min;
|
||||
MaxDuration = max;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue