Пример #1
0
 internal TableItemPattern(ITableItemPattern source, AutomationElement element, bool cached)
 {
     this.element = element;
     this.cached  = cached;
     this.Source  = source;
     currentInfo  = new TableItemPatternInformation(this, false);
     if (cached)
     {
         cachedInfo = new TableItemPatternInformation(this, true);
     }
 }
Пример #2
0
		internal TableItemPattern (ITableItemPattern source, AutomationElement element, bool cached)
		{
			this.element = element;
			this.cached = cached;
			this.Source = source;
			currentInfo = new TableItemPatternInformation (this, false);
			if (cached)
				cachedInfo = new TableItemPatternInformation (this, true);
		}