1 interface inheriting from IResourceWithEnvironment
Aspire.Hosting.Java (1)
14 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.RabbitMQ (1)
Aspire.Hosting.RemoteHost.Tests (2)
Aspire.Hosting.Tests (2)
112 references to IResourceWithEnvironment
Aspire.Hosting (52)
ResourceBuilderExtensions.cs (39)
228public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment
252where T : IResourceWithEnvironment
285where T : IResourceWithEnvironment
325where T : IResourceWithEnvironment
349public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment
366public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment
383public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment
401where T : IResourceWithEnvironment
426where T : IResourceWithEnvironment
467public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment
494where T : IResourceWithEnvironment
522where T : IResourceWithEnvironment
531where T : IResourceWithEnvironment
540where T : IResourceWithEnvironment
569where T : IResourceWithEnvironment
880where TDestination : IResourceWithEnvironment
899where TDestination : IResourceWithEnvironment
917where TDestination : IResourceWithEnvironment
942where TDestination : IResourceWithEnvironment
956where TDestination : IResourceWithEnvironment
1038where TDestination : IResourceWithEnvironment
1056where TDestination : IResourceWithEnvironment
1080where TDestination : IResourceWithEnvironment
1107where TDestination : IResourceWithEnvironment
1204where TDestination : IResourceWithEnvironment
1236where TDestination : IResourceWithEnvironment
1257where TDestination : IResourceWithEnvironment
1305where TDestination : IResourceWithEnvironment
1381where TDestination : IResourceWithEnvironment
1391where T : IResourceWithEnvironment
1652if (env is null || builder.Resource is not IResourceWithEndpoints resourceWithEndpoints || builder.Resource is not IResourceWithEnvironment)
3989where TResource : IResourceWithEnvironment, IResourceWithArgs
4047where TResource : IResourceWithEnvironment, IResourceWithArgs
4098where TResource : IResourceWithEnvironment, IResourceWithArgs
4145where TResource : IResourceWithArgs, IResourceWithEnvironment
4175where TResource : IResourceWithEnvironment, IResourceWithArgs
4211where TResource : IResourceWithEnvironment, IResourceWithArgs
4243where TResource : IResourceWithEnvironment, IResourceWithArgs
4280where TResource : IResourceWithEnvironment, IResourceWithArgs
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Blazor (3)
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 (18)
HostedAgent\HostedAgentBuilderExtension.cs (17)
49where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
66where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
90where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
110where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
137where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
169where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
200where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
211where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
251where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
260where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
274where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
287where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
439where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
467IResourceWithEnvironment target;
542private static void StampHostedAgentConsumerRoleAnnotation(IResourceWithEnvironment target, FoundryResource account)
562private static void EnsureDefaultHostedAgentEndpoint<T>(IResourceBuilder<T> builder, IResourceWithEnvironment target)
563where T : IResourceWithEndpoints, IResourceWithEnvironment, IComputeResource
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Kubernetes (1)
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 (1)
Aspire.Hosting.RemoteHost.Tests (1)