8 references to TryGetValue
Aspire.Dashboard (3)
Components\Interactions\InteractionsProvider.cs (2)
429
if (_openMessageBars.
TryGetValue
(item.InteractionId, out var openMessageBar))
480
if (_openMessageBars.
TryGetValue
(item.InteractionId, out var openMessageBar))
Otlp\Model\OtlpSpan.cs (1)
65
if (Trace.Spans.
TryGetValue
(ParentSpanId, out var span))
Aspire.Hosting (2)
InteractionService.cs (2)
192
if (!_interactionCollection.
TryGetValue
(interactionId, out interactionState))
211
if (!_interactionCollection.
TryGetValue
(interactionId, out 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!))