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)
186
EventListener l = new EventListener(eventId, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
244
EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties,
CacheRequest
.CurrentUiaCacheRequest);
277
EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
310
CacheRequest
.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
418
return DrillForPointOrFocus(true, pt,
CacheRequest
.CurrentUiaCacheRequest);
436
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
733
public AutomationElement GetUpdatedCache(
CacheRequest
request)
756
UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition,
CacheRequest
.CurrentUiaCacheRequest, true, null);
764
return CacheHelper.BuildAutomationElementsFromResponse(
CacheRequest
.CurrentUiaCacheRequest, responses[0]);
779
UiaCoreApi.UiaCacheRequest request =
CacheRequest
.CurrentUiaCacheRequest;
904
scan = TreeWalker.RawViewWalker.GetParent(scan,
CacheRequest
.DefaultCacheRequest);
950
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
967
return DrillForPointOrFocus(false, new Point(0, 0),
CacheRequest
.CurrentUiaCacheRequest);
1123
internal AutomationElement Navigate(NavigateDirection direction, Condition condition,
CacheRequest
request)
1129
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
1137
internal AutomationElement Normalize(Condition condition,
CacheRequest
request )
1143
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)