10 references to IDaprSidecarResource
Aspire.Hosting.Dapr (6)
DaprDistributedApplicationLifecycleHook.cs (1)
54
var
daprSidecar = daprAnnotation.Sidecar;
DaprSidecarAnnotation.cs (1)
11
public sealed record DaprSidecarAnnotation(
IDaprSidecarResource
Sidecar) : IResourceAnnotation
DaprSidecarResource.cs (1)
11
internal sealed class DaprSidecarResource(string name) : Resource(name),
IDaprSidecarResource
{ }
IDistributedApplicationComponentBuilderExtensions.cs (3)
52
public static IResourceBuilder<T> WithDaprSidecar<T>(this IResourceBuilder<T> builder, Action<IResourceBuilder<
IDaprSidecarResource
>> configureSidecar) where T : IResource
76
public static IResourceBuilder<
IDaprSidecarResource
> WithOptions(this IResourceBuilder<
IDaprSidecarResource
> builder, DaprSidecarOptions options)
Aspire.Hosting.Dapr.Tests (4)
DaprTests.cs (4)
42
var
sidecarResource = Assert.Single(model.Resources.OfType<
IDaprSidecarResource
>());
141
var
sidecarResource = Assert.Single(model.Resources.OfType<
IDaprSidecarResource
>());