コード例 #1
0
 /// <summary>
 /// ProcessRecord overload.
 /// </summary>
 protected override void ProcessRecord()
 {
     if (Path != null)
     {
         foreach (string path in Path)
         {
             _helper = new ImportXmlHelper(path, this, _isLiteralPath);
             _helper.Import();
         }
     }
 }
コード例 #2
0
ファイル: ImportClixmlCommand.cs プロジェクト: nickchal/pash
 protected override void ProcessRecord()
 {
     if (this._paths != null)
     {
         foreach (string str in this._paths)
         {
             this.helper = new ImportXmlHelper(str, this, this.isLiteralPath);
             this.helper.Import();
         }
     }
 }
コード例 #3
0
 protected override void ProcessRecord()
 {
     if (this._paths != null)
     {
         foreach (string str in this._paths)
         {
             this.helper = new ImportXmlHelper(str, this, this.isLiteralPath);
             this.helper.Import();
         }
     }
 }
コード例 #4
0
ファイル: ImportClixmlCommand.cs プロジェクト: nickchal/pash
 public void Dispose()
 {
     if (!this.disposed)
     {
         GC.SuppressFinalize(this);
         if (this.helper != null)
         {
             this.helper.Dispose();
             this.helper = null;
         }
         this.disposed = true;
     }
 }
コード例 #5
0
 public void Dispose()
 {
     if (!this.disposed)
     {
         GC.SuppressFinalize(this);
         if (this.helper != null)
         {
             this.helper.Dispose();
             this.helper = null;
         }
         this.disposed = true;
     }
 }
コード例 #6
0
ファイル: XmlCommands.cs プロジェクト: 40a/PowerShell
 /// <summary>
 /// ProcessRecord overload
 /// </summary>
 protected override void ProcessRecord()
 {
     if (Path != null)
     {
         foreach (string path in Path)
         {
             _helper = new ImportXmlHelper(path, this, _isLiteralPath);
             _helper.Import();
         }
     }
 }