Пример #1
0
 public PersistedP4OptionSettings(P4OptionsDefaultsProvider defaults)
 {
     if (defaults == null)
     {
         throw new ArgumentException("A defaults provider must be specified.");
     }
     this._globals  = null;
     this._defaults = defaults;
 }
Пример #2
0
 public PersistedP4OptionSettings(EnvDTE.Globals globals, P4OptionsDefaultsProvider defaults)
 {
     if (defaults == null)
     {
         throw new ArgumentException("A defaults provider must be specified.");
     }
     this.globals  = globals;
     this.defaults = defaults;
 }