Пример #1
0
        public void Set <TProperty>(Expression <Func <T, TProperty> > selector, TProperty value, IConfigSource target)
        {
            selector.CheckNotNull(nameof(selector));
            target.CheckNotNull(nameof(target));

            var path = selector.BuildTPath();

            this.config.Set(path, value, target);
        }
Пример #2
0
 public ConfigStoreWithSource(IConfigSource source, IConfigStore persistable)
 {
     this.Source = source.CheckNotNull(nameof(source));
     this.store  = persistable.CheckNotNull(nameof(persistable));
 }
Пример #3
0
 public MergeSource(IConfigSource[] sources)
 {
     this.sources = sources.CheckNotNull(nameof(sources));
 }