internal RangeValuePattern (IRangeValuePattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new RangeValuePatternInformation (this, false); if (cached) cachedInfo = new RangeValuePatternInformation (this, true); }
internal RangeValuePattern(IRangeValuePattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new RangeValuePatternInformation(this, false); if (cached) { cachedInfo = new RangeValuePatternInformation(this, true); } }