Skip to content

Commit c4b36f8

Browse files
committed
Make UIAComWrapper depend on UIAutomation-Interop, instead of the internally bundled dll.
1 parent afe5003 commit c4b36f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+60
-19
lines changed
-96.2 KB
Binary file not shown.

Libs/Interop.UIAutomationClient.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

UiaComWrapper/AnnotationPattern.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.Diagnostics;
1010
using System.Runtime.InteropServices;
1111
using UIAComWrapperInternal;
12+
using UIAutomationClient = Interop.UIAutomationClient;
1213

1314
namespace System.Windows.Automation
1415
{

UiaComWrapper/Automation.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
using System;
88
using UIAComWrapperInternal;
9-
using UIAutomationClient;
9+
using Interop.UIAutomationClient;
10+
using UIAutomationClient = Interop.UIAutomationClient;
1011

1112
namespace System.Windows.Automation
1213
{

UiaComWrapper/AutomationElement.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
using System.Collections;
99
using System.Collections.Generic;
1010
using System.Diagnostics;
11+
using Interop.UIAutomationClient;
12+
using UIAutomationClient = Interop.UIAutomationClient;
1113
using UIAComWrapperInternal;
1214

1315
namespace System.Windows.Automation
@@ -596,7 +598,7 @@ public static AutomationElement RootElement
596598
{
597599
try
598600
{
599-
UIAutomationClient.IUIAutomationElement element =
601+
IUIAutomationElement element =
600602
Automation.Factory.GetRootElementBuildCache(
601603
CacheRequest.CurrentNativeCacheRequest);
602604
return AutomationElement.Wrap(element);

UiaComWrapper/AutomationElementCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using System;
99
using System.Diagnostics;
1010
using System.Collections;
11-
using UIAComWrapperInternal;
11+
using UIAutomationClient = Interop.UIAutomationClient;
1212

1313
namespace System.Windows.Automation
1414
{

UiaComWrapper/AutomationInteropProvider.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
using System;
99
using System.Runtime.InteropServices;
1010
using UIAComWrapperInternal;
11-
using UIAutomationClient;
11+
using Interop.UIAutomationClient;
12+
using UIAutomationClient = Interop.UIAutomationClient;
1213

1314
namespace System.Windows.Automation.Providers
1415
{

UiaComWrapper/CacheRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.Collections;
1010
using System.Diagnostics;
1111
using UIAComWrapperInternal;
12+
using UIAutomationClient = Interop.UIAutomationClient;
1213

1314
namespace System.Windows.Automation
1415
{

UiaComWrapper/ClientEventList.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
using System.Collections.Generic;
1010
using System.Diagnostics;
1111
using System.Windows.Automation;
12-
using UIAutomationClient;
13-
using StructureChangeType = System.Windows.Automation.StructureChangeType;
12+
using UIAutomationClient = Interop.UIAutomationClient;
13+
using IUIAutomationElement = Interop.UIAutomationClient.IUIAutomationElement;
1414

1515
namespace UIAComWrapperInternal
1616
{

UiaComWrapper/ClientSideProviders.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
using System.Runtime.InteropServices;
1212
using System.Windows.Automation.Providers;
1313
using UIAComWrapperInternal;
14-
using UIAutomationClient;
14+
using Interop.UIAutomationClient;
15+
using UIAutomationClient = Interop.UIAutomationClient;
1516

1617
namespace System.Windows.Automation
1718
{

0 commit comments

Comments
 (0)