internal BasePattern(AutomationElement el, bool cached) { Debug.Assert(el != null); this._el = el; this._cached = cached; }