internal SelectionItemPattern (ISelectionItemPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new SelectionItemPatternInformation (this, false); if (cached) cachedInfo = new SelectionItemPatternInformation (this, true); }
internal SelectionItemPattern(ISelectionItemPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new SelectionItemPatternInformation(this, false); if (cached) { cachedInfo = new SelectionItemPatternInformation(this, true); } }