Inheritance: BasePattern
示例#1
0
        /// -------------------------------------------------------------------
        /// <summary></summary>
        /// -------------------------------------------------------------------
        public GridItemTests(AutomationElement element, TestPriorities priority, string dirResults, bool testEvents, TypeOfControl typeOfControl, IApplicationCommands commands)
            :
            base(element, TestSuite, priority, typeOfControl, TypeOfPattern.GridItem, dirResults, testEvents, commands)
        {
            _pattern = (GridItemPattern)element.GetCurrentPattern(GridItemPattern.Pattern);
            if (_pattern == null)
				throw new Exception(Helpers.PatternNotSupported);
        }
 public TableItemWrapper(AutomationWrapper automationWrapper, GridItemPattern pattern)
     : base(automationWrapper, pattern)
 {
 }
示例#3
0
			internal GridItemPatternInformation (GridItemPattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}
示例#4
0
 internal GridItemPatternInformation(GridItemPattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }