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