Пример #1
0
 public void PreDispose()
 {
     this.__ExcelObserver = null;
     this.ConfigMatter    = null;
     if (this.PMMLMatter != null)
     {
         this.PMMLMatter.Dispose();
     }
     this.PMMLMatter = null;
     if (this.InputMatter != null)
     {
         this.InputMatter.Dispose();
     }
     this.InputMatter = null;
     if (this.OutputMatter != null)
     {
         this.OutputMatter.Dispose();
     }
     this.OutputMatter = null;
     //C#
     GC.Collect();
     //C#
     GC.WaitForPendingFinalizers();
     //C#
     GC.Collect();
     //C#
     GC.WaitForPendingFinalizers();
 }
Пример #2
0
 public void Reset()
 //throws com.WDataSci.WDS.WDSException, Exception
 {
     this.PreDispose();
     this.PMMLMatter   = new __PMMLMatter();
     this.InputMatter  = new __InputMatter();
     this.OutputMatter = new __OutputMatter();
 }