Implemented interface member:
property
Resource
Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent.Resource
12 references to Resource
Aspire.Hosting (5)
Lifecycle\RequiredCommandValidationEventingSubscriber.cs (1)
33
var resource = @event.
Resource
;
Orchestrator\ApplicationOrchestrator.cs (4)
118
using var activity = ProfilingTelemetry.StartResourceBeforeStartWait(Configuration, @event.
Resource
);
123
if (!@event.
Resource
.HasAnnotationOfType<WaitAnnotation>())
154
@event.
Resource
.Name,
174
var waitForDependenciesTask = _notificationService.WaitForDependenciesAsync(@event.
Resource
, cts.Token);
Aspire.Hosting.Maui (5)
Lifecycle\MauiBuildQueueEventSubscriber.cs (2)
64
if (@event.
Resource
is not IMauiPlatformResource mauiResource)
69
var resource = @event.
Resource
;
MauiOtlpExtensions.cs (1)
129
if (evt.
Resource
is DevTunnelResource devTunnelResource &&
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
55
var resource = @event.
Resource
;
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
55
var resource = @event.
Resource
;
Aspire.Hosting.Tests (2)
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
187
Assert.NotNull(e.
Resource
);
214
Assert.NotNull(e.
Resource
);