Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public XmlSettingsEncoder(CompositeSettingsFactory settingsFactory)
 {
     this.settingsFactory = settingsFactory;
 }