/// ------------------------------------------------------------------- /// <summary></summary> /// ------------------------------------------------------------------- protected TogglePatternWrapper(AutomationElement element, string testSuite, TestPriorities priority, TypeOfControl typeOfControl, TypeOfPattern typeOfPattern, string dirResults, bool testEvents, IApplicationCommands commands) : base(element, testSuite, priority, typeOfControl, typeOfPattern, dirResults, testEvents, commands) { _pattern = (TogglePattern)element.GetCurrentPattern(TogglePattern.Pattern); if (_pattern == null) throw new Exception("TogglePattern: " + Helpers.PatternNotSupported); }
internal TogglePatternInformation(TogglePattern pattern, bool cache) { this.pattern = pattern; this.cache = cache; }
internal TogglePatternInformation (TogglePattern pattern, bool cache) { this.pattern = pattern; this.cache = cache; }