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