/// <summary>
 /// Evaluates the change.
 /// </summary>
 /// <param name="historyMessages">The history messages.</param>
 /// <param name="propertyName">Name of the property.</param>
 /// <param name="oldValue">The old value.</param>
 /// <param name="newValue">The new value.</param>
 private void EvaluateChange( List<string> historyMessages, string propertyName, Enum newValue )
 {
     string newStringValue = newValue != null ? newValue.ConvertToString() : string.Empty;
     EvaluateChange( historyMessages, propertyName, newStringValue );
 }
示例#2
0
 private void AddProperty( string key, int personId, Enum value, bool selected = false )
 {
     AddProperty( key, key.SplitCase(), personId, value.ConvertToString( false ), value.ConvertToString(), selected );
 }