示例#1
0
 protected override void DisposeManagedResources()
 {
     if (this.wbInternal != null)
     {
         this.wbInternal.Dispose();
         this.wbInternal = null;
     }
 }
示例#2
0
 private void Recover()
 {
     Trace.TraceError("An exception occurred in the word breaker. Rebuilding COM object.");
     this.wbInternal = new WordBreakerInternal(this.language);
 }
示例#3
0
 private WordBreaker(Language language)
 {
     this.language   = language;
     this.wbInternal = new WordBreakerInternal(language);
 }