コード例 #1
0
 public static UIA3TextRange NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange nativeTextRange)
 {
     return(nativeTextRange == null ? null : new UIA3TextRange(automation, nativeTextRange));
 }
コード例 #2
0
ファイル: UIA3TextRange.cs プロジェクト: windygu/FlaUI
 internal UIA3TextRange(UIA3Automation automation, UIA.IUIAutomationTextRange nativeRange)
 {
     Automation  = automation;
     NativeRange = nativeRange;
 }
コード例 #3
0
 /// <summary>
 /// Converts a native textrange to an <see cref="TextRange" />
 /// </summary>
 public static TextRange NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange nativeElement)
 {
     return nativeElement == null ? null : new TextRange(automation, nativeElement);
 }