2 instantiations of CacheRequest
UIAutomationClient (2)
System\Windows\Automation\CacheRequest.cs (2)
234return new CacheRequest(_viewCondition, _scope, (ArrayList)_properties.Clone(), (ArrayList)_patterns.Clone(), _automationElementMode, _uiaCacheRequest); 526internal static readonly CacheRequest DefaultCacheRequest = new CacheRequest();
31 references to CacheRequest
UIAutomationClient (31)
MS\Internal\Automation\CacheHelper.cs (1)
79cacheRequest = CacheRequest.DefaultUiaCacheRequest;
System\Windows\Automation\Automation.cs (4)
186EventListener l = new EventListener(eventId, scope, null, CacheRequest.CurrentUiaCacheRequest); 244EventListener l = new EventListener(AutomationElement.AutomationPropertyChangedEvent, scope, properties, CacheRequest.CurrentUiaCacheRequest); 277EventListener l = new EventListener(AutomationElement.StructureChangedEvent, scope, null, CacheRequest.CurrentUiaCacheRequest); 310CacheRequest.CurrentUiaCacheRequest);
System\Windows\Automation\AutomationElement.cs (13)
418return DrillForPointOrFocus(true, pt, CacheRequest.CurrentUiaCacheRequest); 436UiaCoreApi.UiaCacheRequest cacheRequest = CacheRequest.CurrentUiaCacheRequest; 733public AutomationElement GetUpdatedCache(CacheRequest request) 756UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition, CacheRequest.CurrentUiaCacheRequest, true, null); 764return CacheHelper.BuildAutomationElementsFromResponse(CacheRequest.CurrentUiaCacheRequest, responses[0]); 779UiaCoreApi.UiaCacheRequest request = CacheRequest.CurrentUiaCacheRequest; 904scan = TreeWalker.RawViewWalker.GetParent(scan, CacheRequest.DefaultCacheRequest); 950UiaCoreApi.UiaCacheRequest cacheRequest = CacheRequest.CurrentUiaCacheRequest; 967return DrillForPointOrFocus(false, new Point(0, 0), CacheRequest.CurrentUiaCacheRequest); 1123internal AutomationElement Navigate(NavigateDirection direction, Condition condition, CacheRequest request) 1129cacheRequest = CacheRequest.DefaultUiaCacheRequest; 1137internal AutomationElement Normalize(Condition condition, CacheRequest request ) 1143cacheRequest = CacheRequest.DefaultUiaCacheRequest;
System\Windows\Automation\CacheRequest.cs (7)
231public CacheRequest Clone() 381public static CacheRequest Current 388return (CacheRequest)_threadStack.Peek(); 447CacheRequest current = Current; 526internal static readonly CacheRequest DefaultCacheRequest = new CacheRequest(); 543internal CacheRequestActivation(CacheRequest request) 563private CacheRequest _request;
System\Windows\Automation\TreeWalker.cs (6)
189public AutomationElement GetParent(AutomationElement element, CacheRequest request) 207public AutomationElement GetFirstChild(AutomationElement element, CacheRequest request) 225public AutomationElement GetLastChild(AutomationElement element, CacheRequest request) 243public AutomationElement GetNextSibling(AutomationElement element, CacheRequest request) 261public AutomationElement GetPreviousSibling(AutomationElement element, CacheRequest request) 289public AutomationElement Normalize(AutomationElement element, CacheRequest request)