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