コード例 #1
0
ファイル: TextRange.cs プロジェクト: pawan9993811/Tools
 internal TextPatternRange(UIAutomationClient.IUIAutomationTextRange range, TextPattern pattern)
 {
     Debug.Assert(range != null);
     Debug.Assert(pattern != null);
     this._range   = range;
     this._pattern = pattern;
 }
コード例 #2
0
ファイル: TextRange.cs プロジェクト: van800/UIAComWrapper
 internal TextPatternRange(UIAutomationClient.IUIAutomationTextRange range, TextPattern pattern)
 {
     Debug.Assert(range != null);
     Debug.Assert(pattern != null);
     this._range = range;
     this._pattern = pattern;
 }
コード例 #3
0
ファイル: TextRange.cs プロジェクト: pawan9993811/Tools
 internal static TextPatternRange Wrap(UIAutomationClient.IUIAutomationTextRange range, TextPattern pattern)
 {
     Debug.Assert(pattern != null);
     if (range == null)
     {
         return(null);
     }
     else
     {
         return(new TextPatternRange(range, pattern));
     }
 }