7 references to TryGetValue
Aspire.Dashboard (3)
Components\Interactions\InteractionsProvider.cs (2)
284if (_openMessageBars.TryGetValue(item.InteractionId, out var openMessageBar)) 336if (_openMessageBars.TryGetValue(item.InteractionId, out var openMessageBar))
Otlp\Model\OtlpSpan.cs (1)
59if (Trace.Spans.TryGetValue(ParentSpanId, out var span))
Aspire.Hosting (1)
ApplicationModel\InteractionService.cs (1)
257if (_interactionCollection.TryGetValue(interactionId, out var interactionState))
Client.ExpectedExceptions.IntegrationTests (2)
CallbackDebugBehaviorTests.cs (2)
41if (endpointBehaviors.TryGetValue(typeof(CallbackDebugBehavior), out IEndpointBehavior ieb)) 67if (endpointBehaviors2.TryGetValue(typeof(CallbackDebugBehavior), out IEndpointBehavior ieb2))
System.ObjectModel (1)
System\Collections\ObjectModel\KeyedCollection.cs (1)
63if (TryGetValue(key, out item!))