コード例 #1
0
ファイル: ExcelClientCOM.cs プロジェクト: umialpha/Telepathy
 /// <summary>
 ///   <para>Actual performs the release of allocated resources.</para>
 /// </summary>
 /// <param name="disposing">
 ///   <para>True if disposing explicitly, which should only be done once.</para>
 /// </param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // prevent multiple dispose calls from throwing a nullreference exception
         if (this.client != null)
         {
             this.client.Dispose();
             this.client = null;
         }
     }
 }
コード例 #2
0
ファイル: ExcelClientCOM.cs プロジェクト: umialpha/Telepathy
 /// <summary>
 ///   <para>Initializes a new instance of the ExcelClient class.</para>
 /// </summary>
 public ExcelClient()
 {
     this.client = new Microsoft.Hpc.Excel.ExcelClient();
 }