protected override void Dispose(bool disposing) { if (_ole != null) { Marshal.ReleaseComObject(_ole); } _ole = null; _document = null; base.Dispose(disposing); }
internal RichTextRange(RichTextDocument document, ITextRange range) { _document = document; _range = range; }
internal RichTextSelection(RichTextDocument document, ITextSelection selection) : base(document, selection) { _selection = selection; }