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