Exemplo n.º 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>();
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }