TextChildPattern( AutomationElement element, IUIAutomationTextChildPattern textChildPattern) : base(el: element) { this._textChildPattern = textChildPattern; }
protected override void Dispose(bool disposing) { if (Pattern != null) { System.Runtime.InteropServices.Marshal.ReleaseComObject(Pattern); this.Pattern = null; } base.Dispose(disposing); }
internal static TextChildPattern Wrap( AutomationElement element, IUIAutomationTextChildPattern textChildPattern) { return(new TextChildPattern(element: element, textChildPattern: textChildPattern)); }
public TextChildPattern(A11yElement e, IUIAutomationTextChildPattern p) : base(e, PatternType.UIA_TextChildPatternId) { Pattern = p; }
private TextChildPattern(AutomationElement el, IUIAutomationTextChildPattern pattern, bool cached) : base(el, cached) { Debug.Assert(pattern != null); this._pattern = pattern; }