1 implementation of IResourceWithEnvironment
Aspire.Hosting.RabbitMQ (1)
RabbitMQServerResource.cs (1)
9public class RabbitMQServerResource : ContainerResource, IResourceWithConnectionString, IResourceWithEnvironment
33 references to IResourceWithEnvironment
Aspire.Hosting (22)
ApplicationModel\ContainerResource.cs (1)
11public class ContainerResource(string name, string? entrypoint = null) : Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ExecutableResource.cs (1)
12public class ExecutableResource(string name, string command, string workingDirectory) : Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ProjectResource.cs (1)
10public class ProjectResource(string name) : Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithServiceDiscovery, IResourceWithWaitSupport
ApplicationModel\ResourceExtensions.cs (2)
162/// Using <see cref="GetEnvironmentVariableValuesAsync(IResourceWithEnvironment, DistributedApplicationOperation)"/> inside 185public 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)
117public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder) where T : IResourceWithEnvironment
ResourceBuilderExtensions.cs (15)
30public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment 47where T : IResourceWithEnvironment 69where T : IResourceWithEnvironment 89public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment 105public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment 120public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment 136public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, EndpointReference endpointReference) where T : IResourceWithEnvironment 156public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment 180where T : IResourceWithEnvironment 345where TDestination : IResourceWithEnvironment 372where TDestination : IResourceWithEnvironment 391where TDestination : IResourceWithEnvironment 419where TDestination : IResourceWithEnvironment 429where T : IResourceWithEnvironment 536if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment)
Aspire.Hosting.Azure (2)
AzureBicepResourceExtensions.cs (2)
80where T : IResourceWithEnvironment 97where 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)
130where TDestination : IResourceWithEnvironment
Aspire.Hosting.Qdrant.Tests (1)
QdrantPublicApiTests.cs (1)
75IResourceBuilder<IResourceWithEnvironment> builder = null!;
Aspire.Hosting.Tests (1)
ResourceNotificationTests.cs (1)
385IResourceWithEnvironment,