1 implementation of IResourceWithEnvironment
Aspire.Hosting.RabbitMQ (1)
RabbitMQServerResource.cs (1)
9public class RabbitMQServerResource : ContainerResource, IResourceWithConnectionString, IResourceWithEnvironment
34 references to IResourceWithEnvironment
Aspire.Hosting (22)
ApplicationModel\ContainerResource.cs (1)
12: Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport,
ApplicationModel\ExecutableResource.cs (1)
16: Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport,
ApplicationModel\ProjectResource.cs (1)
11: Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithServiceDiscovery, IResourceWithWaitSupport,
ApplicationModel\ResourceExtensions.cs (2)
164/// Using <see cref="GetEnvironmentVariableValuesAsync(IResourceWithEnvironment, DistributedApplicationOperation)"/> inside 187public static async ValueTask<Dictionary<string, string>> GetEnvironmentVariableValuesAsync(this IResourceWithEnvironment resource,
Dashboard\ConsoleLogsConfigurationExtensions.cs (1)
10internal static IResourceBuilder<T> ConfigureConsoleLogs<T>(this IResourceBuilder<T> builder) where T : IResourceWithEnvironment
OtlpConfigurationExtensions.cs (1)
107public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder) where T : IResourceWithEnvironment
ResourceBuilderExtensions.cs (15)
32public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment 49where T : IResourceWithEnvironment 73where T : IResourceWithEnvironment 95public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment 111public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment 126public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment 142public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, EndpointReference endpointReference) where T : IResourceWithEnvironment 164public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment 190where T : IResourceWithEnvironment 359where TDestination : IResourceWithEnvironment 386where TDestination : IResourceWithEnvironment 405where TDestination : IResourceWithEnvironment 433where TDestination : IResourceWithEnvironment 443where T : IResourceWithEnvironment 573if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment)
Aspire.Hosting.Azure (3)
AzureBicepResourceExtensions.cs (3)
78where T : IResourceWithEnvironment 97where T : IResourceWithEnvironment 114where T : IResourceWithEnvironment
Aspire.Hosting.Kafka (1)
KafkaServerResource.cs (1)
12public class KafkaServerResource(string name) : ContainerResource(name), IResourceWithConnectionString, IResourceWithEnvironment
Aspire.Hosting.Orleans (5)
IProviderConfiguration.cs (1)
19void ConfigureResource<T>(IResourceBuilder<T> resourceBuilder, string configSectionPath) where T : IResourceWithEnvironment;
OrleansServiceClientExtensions.cs (1)
24where T : IResourceWithEnvironment, IResourceWithEndpoints
OrleansServiceExtensions.cs (2)
350where T : IResourceWithEnvironment, IResourceWithEndpoints 359where T : IResourceWithEnvironment, IResourceWithEndpoints
ProviderConfiguration.cs (1)
36public void ConfigureResource<T>(IResourceBuilder<T> resourceBuilder, string configurationSectionName) where T : IResourceWithEnvironment
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
137where TDestination : IResourceWithEnvironment
Aspire.Hosting.Qdrant.Tests (1)
QdrantPublicApiTests.cs (1)
83IResourceBuilder<IResourceWithEnvironment> builder = null!;
Aspire.Hosting.Tests (1)
ResourceNotificationTests.cs (1)
403IResourceWithEnvironment,