public static UIA3TextRange NativeToManaged(UIA3Automation automation, UIA.IUIAutomationTextRange nativeTextRange) { return(nativeTextRange == null ? null : new UIA3TextRange(automation, nativeTextRange)); }
internal UIA3TextRange(UIA3Automation automation, UIA.IUIAutomationTextRange nativeRange) { Automation = automation; NativeRange = nativeRange; }
/// <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); }