예제 #1
0
        public EnvironmentStore(EnvironmentVariableTarget target, string prefix, CompositeSettingsFactory settingsFactory)
        {
            if (string.IsNullOrEmpty(prefix))
            {
                throw new NullReferenceException(nameof(prefix));
            }

            this.target          = target;
            this.prefix          = prefix;
            this.settingsFactory = settingsFactory;

            prefixLength = prefix.Length;
        }
예제 #2
0
 public XmlSettingsEncoder(CompositeSettingsFactory settingsFactory)
 {
     this.settingsFactory = settingsFactory;
 }