6 instantiations of UiaCacheResponse
UIAutomationClient (6)
MS\Internal\Automation\EventListenerClientSide.cs (1)
72UiaCoreApi.UiaCacheResponse cacheResponse = new UiaCoreApi.UiaCacheResponse(requestedData, treeStructure, _eventListener.CacheRequest);
MS\Internal\Automation\UiaCoreApi.cs (5)
365return new UiaCacheResponse(requestedData, treeStructure, request); 377return new UiaCacheResponse(requestedData, treeStructure, request); 389return new UiaCacheResponse(requestedData, treeStructure, request); 431return new UiaCacheResponse(requestedData, treeStructure, request); 472responses[i] = new UiaCacheResponse(elementData, treeStructures[i], request);
23 references to UiaCacheResponse
UIAutomationClient (23)
MS\Internal\Automation\CacheHelper.cs (1)
65UiaCoreApi.UiaCacheResponse response)
MS\Internal\Automation\CalloutQueueItem.cs (2)
24internal CalloutQueueItem(Delegate clientCallback, UiaCoreApi.UiaCacheResponse cacheResponse, AutomationEventArgs e, UiaCoreApi.UiaCacheRequest cacheRequest) 61internal UiaCoreApi.UiaCacheResponse _cacheResponse; // prefetched data (possibly including the element and properties/patterns)
MS\Internal\Automation\ClientSideQueueItem.cs (1)
52UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaGetUpdatedCache(_srcEl.RawNode, _request, UiaCoreApi.NormalizeState.View, null);
MS\Internal\Automation\EventListenerClientSide.cs (1)
72UiaCoreApi.UiaCacheResponse cacheResponse = new UiaCoreApi.UiaCacheResponse(requestedData, treeStructure, _eventListener.CacheRequest);
MS\Internal\Automation\UiaCoreApi.cs (8)
347internal static UiaCacheResponse UiaNodeFromPoint(double x, double y, UiaCacheRequest request) 368internal static UiaCacheResponse UiaNodeFromFocus(UiaCacheRequest request) 380internal static UiaCacheResponse UiaGetUpdatedCache(SafeNodeHandle hnode, UiaCacheRequest request, NormalizeState normalize, Condition customCondition) 422internal static UiaCacheResponse UiaNavigate(SafeNodeHandle hnode, NavigateDirection direction, Condition condition, UiaCacheRequest request) 434internal static UiaCacheResponse[] UiaFind(SafeNodeHandle hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request) 452return Array.Empty<UiaCacheResponse>(); // Return empty cacheresponse, not null. 458UiaCacheResponse[] responses = new UiaCacheResponse[treeStructures.Length];
System\Windows\Automation\AutomationElement.cs (10)
434UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaGetUpdatedCache(hnode, cacheRequest, UiaCoreApi.NormalizeState.None, null); 734UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaGetUpdatedCache(_hnode, cacheRequest, UiaCoreApi.NormalizeState.None, null); 749UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition, CacheRequest.CurrentUiaCacheRequest, true, null); 773UiaCoreApi.UiaCacheResponse[] responses = Find(scope, condition, request, false, null); 946UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaGetUpdatedCache(hnode, cacheRequest, UiaCoreApi.NormalizeState.None, null); 1120UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaNavigate(_hnode, direction, condition, cacheRequest); 1135UiaCoreApi.UiaCacheResponse response = UiaCoreApi.UiaGetUpdatedCache(_hnode, cacheRequest, UiaCoreApi.NormalizeState.Custom, condition); 1270UiaCoreApi.UiaCacheResponse response; 1281private UiaCoreApi.UiaCacheResponse[] Find(TreeScope scope, Condition condition, UiaCoreApi.UiaCacheRequest request, bool findFirst, BackgroundWorker worker) 1311UiaCoreApi.UiaCacheResponse[] retVal = UiaCoreApi.UiaFind(_hnode, findParams, condition, request);