internal ValuePattern (IValuePattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new ValuePatternInformation (this, false); if (cached) cachedInfo = new ValuePatternInformation (this, true); }
internal ValuePattern(IValuePattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new ValuePatternInformation(this, false); if (cached) { cachedInfo = new ValuePatternInformation(this, true); } }