mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 04:05:04 +00:00
refactor: Reducing duplicate code
This commit is contained in:
@@ -34,14 +34,8 @@ namespace ICD.Common.Utils
|
||||
/// <param name="value"></param>
|
||||
public ReprBuilder AppendProperty(string name, object value)
|
||||
{
|
||||
m_PropertyOrder.Remove(name);
|
||||
m_PropertyOrder.Add(name);
|
||||
|
||||
string valueString = GetValueStringRepresentation(value);
|
||||
|
||||
m_PropertyValues[name] = valueString;
|
||||
|
||||
return this;
|
||||
return AppendPropertyRaw(name, valueString);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user