private TextPattern2(AutomationElement el, UIAutomationClient.IUIAutomationTextPattern2 pattern, UIAutomationClient.IUIAutomationTextPattern basePattern, bool cached) : base(el, basePattern, cached) { Debug.Assert(pattern != null); this._pattern = pattern; }