Ejemplo n.º 1
0
 /// <summary>
 /// Adds the specified property.
 /// </summary>
 /// <param name="name">The name for the property.</param>
 /// <param name="value">The value for the propertiy, for which <see cref="Object.ToString()"/> will be called to convert it into a string.</param>
 public void AddProperty <T>(string name, T value) where T : notnull
 {
     _properties.Add(StatusProperty.Create(name, value));
 }
Ejemplo n.º 2
0
 public StatusPropertyRange(StatusProperty property)
 {
     Name     = property.Name;
     MinValue = property.Value;
     MaxValue = property.Value;
 }