2 instantiations of CacheRequest
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
233
return new
CacheRequest
(_viewCondition, _scope, (ArrayList)_properties.Clone(), (ArrayList)_patterns.Clone(), _automationElementMode, _uiaCacheRequest);
525
internal static readonly CacheRequest DefaultCacheRequest = new
CacheRequest
();
31 references to CacheRequest
UIAutomationClient (31)
MS\Internal\Automation\CacheHelper.cs (1)
78
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\Automation.cs (4)
176
EventListener l = new EventListener(eventId, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
234
EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties,
CacheRequest
.CurrentUiaCacheRequest);
267
EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null,
CacheRequest
.CurrentUiaCacheRequest);
300
CacheRequest
.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
414
return DrillForPointOrFocus(true, pt,
CacheRequest
.CurrentUiaCacheRequest);
432
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
726
public AutomationElement GetUpdatedCache(
CacheRequest
request)
749
UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition,
CacheRequest
.CurrentUiaCacheRequest, true, null);
757
return CacheHelper.BuildAutomationElementsFromResponse(
CacheRequest
.CurrentUiaCacheRequest, responses[0]);
772
UiaCoreApi.UiaCacheRequest request =
CacheRequest
.CurrentUiaCacheRequest;
897
scan = TreeWalker.RawViewWalker.GetParent(scan,
CacheRequest
.DefaultCacheRequest);
943
UiaCoreApi.UiaCacheRequest cacheRequest =
CacheRequest
.CurrentUiaCacheRequest;
960
return DrillForPointOrFocus(false, new Point(0, 0),
CacheRequest
.CurrentUiaCacheRequest);
1110
internal AutomationElement Navigate(NavigateDirection direction, Condition condition,
CacheRequest
request)
1116
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
1124
internal AutomationElement Normalize(Condition condition,
CacheRequest
request )
1130
cacheRequest =
CacheRequest
.DefaultUiaCacheRequest;
System\Windows\Automation\CacheRequest.cs (7)
230
public
CacheRequest
Clone()
380
public static
CacheRequest
Current
387
return (
CacheRequest
)_threadStack.Peek();
446
CacheRequest
current = Current;
525
internal static readonly
CacheRequest
DefaultCacheRequest = new CacheRequest();
542
internal CacheRequestActivation(
CacheRequest
request)
562
private
CacheRequest
_request;
System\Windows\Automation\TreeWalker.cs (6)
188
public AutomationElement GetParent(AutomationElement element,
CacheRequest
request)
206
public AutomationElement GetFirstChild(AutomationElement element,
CacheRequest
request)
224
public AutomationElement GetLastChild(AutomationElement element,
CacheRequest
request)
242
public AutomationElement GetNextSibling(AutomationElement element,
CacheRequest
request)
260
public AutomationElement GetPreviousSibling(AutomationElement element,
CacheRequest
request)
288
public AutomationElement Normalize(AutomationElement element,
CacheRequest
request)