internal UIA3TextRange(UIA3Automation automation, Interop.UIAutomationClient.IUIAutomationTextRange nativeRange)
 {
     this.Automation  = automation;
     this.NativeRange = nativeRange;
 }
 public static UIA3TextRange NativeToManaged(UIA3Automation automation, Interop.UIAutomationClient.IUIAutomationTextRange nativeTextRange)
 {
     return(nativeTextRange == null ? null : new UIA3TextRange(automation, nativeTextRange));
 }