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