Inheritance: BasePattern
コード例 #1
0
ファイル: ToggleTests.cs プロジェクト: geeksree/cSharpGeeks
        /// -------------------------------------------------------------------
        /// <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);
        }
コード例 #2
0
ファイル: TogglePattern.cs プロジェクト: ABEMBARKA/monoUI
 internal TogglePatternInformation(TogglePattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }
コード例 #3
0
ファイル: TogglePattern.cs プロジェクト: mono/uia2atk
			internal TogglePatternInformation (TogglePattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}