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