Пример #1
0
 public T GetOrSetValue <T>(IReadOnlyConfigProperty <T> property, T value)
 {
     ConfigPropertyObserver.ThrowIfPropertyNotLinked(property);
     return(GetOrSetValue(property.Key, value, property.CryptKey, property.Converter, property.Sections));
 }
Пример #2
0
 public T GetOrSetValue <T>(IReadOnlyConfigProperty <T> property)
 {
     ConfigPropertyObserver.ThrowIfPropertyNotLinked(property);
     return(GetOrSetValue(property, property.DefaultValue));
 }
Пример #3
0
 public Boolean SetValue <T>(IReadOnlyConfigProperty <T> property, T value)
 {
     return(Config.SetValue(property, value));
 }
Пример #4
0
 public T GetOrSetValue <T>(IReadOnlyConfigProperty <T> property, T value)
 {
     return(Config.GetOrSetValue(property, value));
 }
Пример #5
0
 public T GetValue <T>(IReadOnlyConfigProperty <T> property)
 {
     return(Config.GetValue(property));
 }