protected TValue GetValue <TValue>() where TValue : IConvertible { var defval = default(TValue); defval = this.GetMetaDataValue("Default", defval); return(_Properties.GetValue(SerializationKey, defval.ConvertToString <TValue>()).ConvertToValue <TValue>()); }
public static bool HasOwnValue(this IPropertyProvider properties, string key) { return(properties.GetValue(key, null) != properties.GetDefaultValue(key, null)); }
public string GetValue(string serializationKey, string defval) { var underlayingValue = GetDefaultValue(serializationKey, defval); return(_Current.GetValue(serializationKey, underlayingValue)); }
public string GetValue(string serializationKey, string defval) { return(_Properties.GetValue(serializationKey, defval)); }
public string GetDefaultValue(string serializationKey, string defval) { return(_Base == null ? defval : _Base.GetValue(serializationKey, defval)); }