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)
132 references to IResourceWithEnvironment
Aspire.Hosting (56)
ResourceBuilderExtensions.cs (39)
229public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment
253where T : IResourceWithEnvironment
286where T : IResourceWithEnvironment
326where T : IResourceWithEnvironment
350public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment
367public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment
384public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment
402where T : IResourceWithEnvironment
427where T : IResourceWithEnvironment
468public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment
495where T : IResourceWithEnvironment
523where T : IResourceWithEnvironment
532where T : IResourceWithEnvironment
541where T : IResourceWithEnvironment
570where T : IResourceWithEnvironment
881where TDestination : IResourceWithEnvironment
900where TDestination : IResourceWithEnvironment
918where TDestination : IResourceWithEnvironment
943where TDestination : IResourceWithEnvironment
957where TDestination : IResourceWithEnvironment
1039where TDestination : IResourceWithEnvironment
1057where TDestination : IResourceWithEnvironment
1081where TDestination : IResourceWithEnvironment
1114where TDestination : IResourceWithEnvironment
1266where TDestination : IResourceWithEnvironment
1298where TDestination : IResourceWithEnvironment
1319where TDestination : IResourceWithEnvironment
1367where TDestination : IResourceWithEnvironment
1443where TDestination : IResourceWithEnvironment
1453where T : IResourceWithEnvironment
1714if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
4110where TResource : IResourceWithEnvironment, IResourceWithArgs
4168where TResource : IResourceWithEnvironment, IResourceWithArgs
4219where TResource : IResourceWithEnvironment, IResourceWithArgs
4266where TResource : IResourceWithArgs, IResourceWithEnvironment
4296where TResource : IResourceWithEnvironment, IResourceWithArgs
4332where TResource : IResourceWithEnvironment, IResourceWithArgs
4364where TResource : IResourceWithEnvironment, IResourceWithArgs
4401where TResource : IResourceWithEnvironment, IResourceWithArgs
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.ConnectorNamespace (1)
Aspire.Hosting.Azure.Tests (2)
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.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.JavaScript (1)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Kubernetes (3)
Aspire.Hosting.Maui (2)
Aspire.Hosting.Orleans (5)
Aspire.Hosting.PostgreSQL.Tests (1)
Aspire.Hosting.Qdrant (2)
Aspire.Hosting.Qdrant.Tests (2)
Aspire.Hosting.Radius (2)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.TestUtilities (1)