Ejemplo n.º 1
0
 /// <summary>
 /// Converts and sets a value on the target object for the property
 /// this converter is associated with
 /// </summary>
 /// <param name="target">Target object</param>
 /// <param name="value">Value to set as a string which will be converted</param>
 public override void SetValue(object target, string value)
 {
     if (string.IsNullOrWhiteSpace(value))
     {
         return;
     }
     this.Setter((T)target, BoolConverter <bool> .ParseBool(value));
 }