2 instantiations of CacheRequest
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
236
return new
CacheRequest
(_viewCondition, _scope, (ArrayList)_properties.Clone(), (ArrayList)_patterns.Clone(), _automationElementMode, _uiaCacheRequest);
528
internal static readonly CacheRequest DefaultCacheRequest = new
CacheRequest
();
31 references to CacheRequest
UIAutomationClient (31)
MS\Internal\Automation\CacheHelper.cs (1)
84
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\Automation.cs (4)
192
EventListener l = new EventListener(eventId, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
250
EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties,
CacheRequest
.CurrentUiaCacheRequest);
283
EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
316
CacheRequest
.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
424
return DrillForPointOrFocus(true, pt,
CacheRequest
.CurrentUiaCacheRequest);
442
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
739
public AutomationElement GetUpdatedCache(
CacheRequest
request)
762
UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition,
CacheRequest
.CurrentUiaCacheRequest, true, null);
770
return CacheHelper.BuildAutomationElementsFromResponse(
CacheRequest
.CurrentUiaCacheRequest, responses[0]);
785
UiaCoreApi.UiaCacheRequest request =
CacheRequest
.CurrentUiaCacheRequest;
910
scan = TreeWalker.RawViewWalker.GetParent(scan,
CacheRequest
.DefaultCacheRequest);
956
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
973
return DrillForPointOrFocus(false, new Point(0, 0),
CacheRequest
.CurrentUiaCacheRequest);
1129
internal AutomationElement Navigate(NavigateDirection direction, Condition condition,
CacheRequest
request)
1135
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
1143
internal AutomationElement Normalize(Condition condition,
CacheRequest
request )
1149
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\CacheRequest.cs (7)
233
public
CacheRequest
Clone()
383
public static
CacheRequest
Current
390
return (
CacheRequest
)_threadStack.Peek();
449
CacheRequest
current = Current;
528
internal static readonly
CacheRequest
DefaultCacheRequest = new CacheRequest();
545
internal CacheRequestActivation(
CacheRequest
request)
565
private
CacheRequest
_request;
System\Windows\Automation\TreeWalker.cs (6)
191
public AutomationElement GetParent(AutomationElement element,
CacheRequest
request)
209
public AutomationElement GetFirstChild(AutomationElement element,
CacheRequest
request)
227
public AutomationElement GetLastChild(AutomationElement element,
CacheRequest
request)
245
public AutomationElement GetNextSibling(AutomationElement element,
CacheRequest
request)
263
public AutomationElement GetPreviousSibling(AutomationElement element,
CacheRequest
request)
291
public AutomationElement Normalize(AutomationElement element,
CacheRequest
request)