1 interface inheriting from IResourceWithEnvironment
Aspire.Hosting.Java (1)
16 implementations of IResourceWithEnvironment
Aspire.Hosting (4)
Aspire.Hosting.Blazor (1)
Aspire.Hosting.DevTunnels.Tests (1)
Aspire.Hosting.Foundry (2)
Aspire.Hosting.Kafka (1)
Aspire.Hosting.Kubernetes.Tests (1)
Aspire.Hosting.RabbitMQ (1)
Aspire.Hosting.RemoteHost.Tests (2)
Aspire.Hosting.Tests (3)
163 references to IResourceWithEnvironment
Aspire.Hosting (57)
ResourceBuilderExtensions.cs (40)
244public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment
268where T : IResourceWithEnvironment
301where T : IResourceWithEnvironment
341where T : IResourceWithEnvironment
365public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment
382public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment
399public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment
417where T : IResourceWithEnvironment
442where T : IResourceWithEnvironment
483public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment
510where T : IResourceWithEnvironment
538where T : IResourceWithEnvironment
547where T : IResourceWithEnvironment
556where T : IResourceWithEnvironment
585where T : IResourceWithEnvironment
1131where TDestination : IResourceWithEnvironment
1150where TDestination : IResourceWithEnvironment
1168where TDestination : IResourceWithEnvironment
1193where TDestination : IResourceWithEnvironment
1207where TDestination : IResourceWithEnvironment
1289where TDestination : IResourceWithEnvironment
1307where TDestination : IResourceWithEnvironment
1331where TDestination : IResourceWithEnvironment
1364where TDestination : IResourceWithEnvironment
1516where TDestination : IResourceWithEnvironment
1548where TDestination : IResourceWithEnvironment
1569where TDestination : IResourceWithEnvironment
1617where TDestination : IResourceWithEnvironment
1693where TDestination : IResourceWithEnvironment
1703where T : IResourceWithEnvironment
1964if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
4380where TResource : IResourceWithEnvironment, IResourceWithArgs
4438where TResource : IResourceWithEnvironment, IResourceWithArgs
4489where TResource : IResourceWithEnvironment, IResourceWithArgs
4536where TResource : IResourceWithArgs, IResourceWithEnvironment
4558where TResource : IResourceWithArgs, IResourceWithEnvironment
4603where TResource : IResourceWithEnvironment, IResourceWithArgs
4639where TResource : IResourceWithEnvironment, IResourceWithArgs
4671where TResource : IResourceWithEnvironment, IResourceWithArgs
4708where TResource : IResourceWithEnvironment, IResourceWithArgs
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.ConnectorNamespace (1)
Aspire.Hosting.Azure.EntraId (3)
Aspire.Hosting.Azure.EntraId.Tests (11)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.Azure.Kubernetes.Tests (1)
Aspire.Hosting.Azure.Tests (4)
Aspire.Hosting.Blazor (11)
BlazorHostedExtensions.cs (8)
53where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
60where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
102where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
108where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
143where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
149where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
160where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
376where T : class, IDotnetProgramResource, IResourceWithEnvironment, IResourceWithServiceDiscovery
Aspire.Hosting.Blazor.Tests (1)
Aspire.Hosting.CodeGeneration.Go.Tests (3)
Aspire.Hosting.CodeGeneration.Java.Tests (3)
Aspire.Hosting.CodeGeneration.Python.Tests (3)
Aspire.Hosting.CodeGeneration.Rust.Tests (3)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (3)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Dotnet.Tests (1)
Aspire.Hosting.Foundry (19)
HostedAgent\HostedAgentBuilderExtension.cs (18)
51where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
68where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
92where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
112where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
139where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
171where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
202where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
213where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
253where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
262where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
276where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
289where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
441where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
469IResourceWithEnvironment target;
480resource is IResourceWithEnvironment programTarget)
546private static void StampHostedAgentConsumerRoleAnnotation(IResourceWithEnvironment target, FoundryResource account)
566private static void EnsureDefaultHostedAgentEndpoint<T>(IResourceBuilder<T> builder, IResourceWithEnvironment target)
567where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.Go (1)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Kubernetes (3)
Aspire.Hosting.Kubernetes.Tests (1)
Aspire.Hosting.Maui (2)
Aspire.Hosting.Milvus.Tests (1)
Aspire.Hosting.Orleans (5)
Aspire.Hosting.PostgreSQL.Tests (1)
Aspire.Hosting.Qdrant (2)
Aspire.Hosting.Qdrant.Tests (3)
Aspire.Hosting.Radius (2)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Tests (6)
Aspire.Hosting.TestUtilities (1)