2 instantiations of CacheRequest
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
243
return new
CacheRequest
(_viewCondition, _scope, (ArrayList)_properties.Clone(), (ArrayList)_patterns.Clone(), _automationElementMode, _uiaCacheRequest);
535
internal static readonly CacheRequest DefaultCacheRequest = new
CacheRequest
();
31 references to CacheRequest
UIAutomationClient (31)
MS\Internal\Automation\CacheHelper.cs (1)
92
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\Automation.cs (4)
216
EventListener l = new EventListener(eventId, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
286
EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties,
CacheRequest
.CurrentUiaCacheRequest);
331
EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
375
CacheRequest
.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
427
return DrillForPointOrFocus(true, pt,
CacheRequest
.CurrentUiaCacheRequest);
450
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
787
public AutomationElement GetUpdatedCache(
CacheRequest
request)
810
UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition,
CacheRequest
.CurrentUiaCacheRequest, true, null);
818
return CacheHelper.BuildAutomationElementsFromResponse(
CacheRequest
.CurrentUiaCacheRequest, responses[0]);
833
UiaCoreApi.UiaCacheRequest request =
CacheRequest
.CurrentUiaCacheRequest;
978
scan = TreeWalker.RawViewWalker.GetParent(scan,
CacheRequest
.DefaultCacheRequest);
1034
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
1057
return DrillForPointOrFocus(false, new Point(0, 0),
CacheRequest
.CurrentUiaCacheRequest);
1213
internal AutomationElement Navigate(NavigateDirection direction, Condition condition,
CacheRequest
request)
1219
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
1227
internal AutomationElement Normalize(Condition condition,
CacheRequest
request )
1233
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\CacheRequest.cs (7)
240
public
CacheRequest
Clone()
390
public static
CacheRequest
Current
397
return (
CacheRequest
)_threadStack.Peek();
456
CacheRequest
current = Current;
535
internal static readonly
CacheRequest
DefaultCacheRequest = new CacheRequest();
552
internal CacheRequestActivation(
CacheRequest
request)
572
private
CacheRequest
_request;
System\Windows\Automation\TreeWalker.cs (6)
199
public AutomationElement GetParent(AutomationElement element,
CacheRequest
request)
217
public AutomationElement GetFirstChild(AutomationElement element,
CacheRequest
request)
235
public AutomationElement GetLastChild(AutomationElement element,
CacheRequest
request)
253
public AutomationElement GetNextSibling(AutomationElement element,
CacheRequest
request)
271
public AutomationElement GetPreviousSibling(AutomationElement element,
CacheRequest
request)
299
public AutomationElement Normalize(AutomationElement element,
CacheRequest
request)