2 instantiations of CacheRequest
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
234
return new
CacheRequest
(_viewCondition, _scope, (ArrayList)_properties.Clone(), (ArrayList)_patterns.Clone(), _automationElementMode, _uiaCacheRequest);
526
internal static readonly CacheRequest DefaultCacheRequest = new
CacheRequest
();
31 references to CacheRequest
UIAutomationClient (31)
MS\Internal\Automation\CacheHelper.cs (1)
79
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\Automation.cs (4)
177
EventListener l = new EventListener(eventId, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
235
EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties,
CacheRequest
.CurrentUiaCacheRequest);
268
EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
301
CacheRequest
.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
415
return DrillForPointOrFocus(true, pt,
CacheRequest
.CurrentUiaCacheRequest);
433
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
727
public AutomationElement GetUpdatedCache(
CacheRequest
request)
750
UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition,
CacheRequest
.CurrentUiaCacheRequest, true, null);
758
return CacheHelper.BuildAutomationElementsFromResponse(
CacheRequest
.CurrentUiaCacheRequest, responses[0]);
773
UiaCoreApi.UiaCacheRequest request =
CacheRequest
.CurrentUiaCacheRequest;
898
scan = TreeWalker.RawViewWalker.GetParent(scan,
CacheRequest
.DefaultCacheRequest);
944
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
961
return DrillForPointOrFocus(false, new Point(0, 0),
CacheRequest
.CurrentUiaCacheRequest);
1111
internal AutomationElement Navigate(NavigateDirection direction, Condition condition,
CacheRequest
request)
1117
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
1125
internal AutomationElement Normalize(Condition condition,
CacheRequest
request )
1131
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\CacheRequest.cs (7)
231
public
CacheRequest
Clone()
381
public static
CacheRequest
Current
388
return (
CacheRequest
)_threadStack.Peek();
447
CacheRequest
current = Current;
526
internal static readonly
CacheRequest
DefaultCacheRequest = new CacheRequest();
543
internal CacheRequestActivation(
CacheRequest
request)
563
private
CacheRequest
_request;
System\Windows\Automation\TreeWalker.cs (6)
189
public AutomationElement GetParent(AutomationElement element,
CacheRequest
request)
207
public AutomationElement GetFirstChild(AutomationElement element,
CacheRequest
request)
225
public AutomationElement GetLastChild(AutomationElement element,
CacheRequest
request)
243
public AutomationElement GetNextSibling(AutomationElement element,
CacheRequest
request)
261
public AutomationElement GetPreviousSibling(AutomationElement element,
CacheRequest
request)
289
public AutomationElement Normalize(AutomationElement element,
CacheRequest
request)