internal void SetStringValue(string value) { val = property.ConvertFromString(value); if (!object.Equals(val, DefaultValue)) { origin = PropertyValueOrigin.SetHere; } }
internal void Reset(PropertyInformation parentProperty) { if (parentProperty != null) { if (property.IsElement) { ((ConfigurationElement)Value).Reset((ConfigurationElement)parentProperty.Value); } else { val = parentProperty.Value; origin = PropertyValueOrigin.Inherited; } } else { origin = PropertyValueOrigin.Default; } }
internal void SetStringValue (string value) { val = property.ConvertFromString (value); if (!object.Equals (val, DefaultValue)) origin = PropertyValueOrigin.SetHere; }
internal void Reset (PropertyInformation parentProperty) { if (parentProperty != null) { if (property.IsElement) { ((ConfigurationElement)Value).Reset ((ConfigurationElement) parentProperty.Value); } else { val = parentProperty.Value; origin = PropertyValueOrigin.Inherited; } } else { origin = PropertyValueOrigin.Default; } }