Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
 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);
     }
 }