예제 #1
0
 internal PSSnapInTypeAndFormatErrors(string psSnapinName, System.Management.Automation.Runspaces.TypeData typeData, bool isRemove)
 {
     this.psSnapinName = psSnapinName;
     this.typeData = typeData;
     this.isRemove = isRemove;
     this.errors = new Collection<string>();
 }
 internal PSSnapInTypeAndFormatErrors(string psSnapinName, System.Management.Automation.Runspaces.TypeData typeData, bool isRemove)
 {
     this.psSnapinName = psSnapinName;
     this.typeData     = typeData;
     this.isRemove     = isRemove;
     this.errors       = new Collection <string>();
 }
예제 #3
0
 public SessionStateTypeEntry(System.Management.Automation.Runspaces.TypeData typeData, bool isRemove) : base("*")
 {
     if (typeData == null)
     {
         throw PSTraceSource.NewArgumentNullException("typeData");
     }
     this._typeData = typeData;
     this._isRemove = isRemove;
 }
예제 #4
0
 public TypeConfigurationEntry(System.Management.Automation.Runspaces.TypeData typeData, bool isRemove) : base("*")
 {
     if (typeData == null)
     {
         throw PSTraceSource.NewArgumentException("typeData");
     }
     this._typeData = typeData;
     this._isRemove = isRemove;
 }