Exemplo n.º 1
0
		internal TogglePattern (IToggleProvider source, AutomationElement element, bool cached)
		{
			this.element = element;
			this.cached = cached;
			this.Source = source;
			currentInfo = new TogglePatternInformation (this, false);
			if (cached)
				cachedInfo = new TogglePatternInformation (this, true);
		}
Exemplo n.º 2
0
 internal TogglePattern(IToggleProvider source, AutomationElement element, bool cached)
 {
     this.element = element;
     this.cached  = cached;
     this.Source  = source;
     currentInfo  = new TogglePatternInformation(this, false);
     if (cached)
     {
         cachedInfo = new TogglePatternInformation(this, true);
     }
 }