8 implementations of IResourceWithEnvironment
Aspire.Hosting (4)
ApplicationModel\ContainerExecutableResource.cs (1)
13: Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ContainerResource.cs (1)
16: Resource(name), IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ExecutableResource.cs (1)
20public class ExecutableResource : Resource, IResourceWithEnvironment, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ProjectResource.cs (1)
21public class ProjectResource : Resource, IResourceWithEnvironment, IResourceWithArgs, IResourceWithServiceDiscovery, IResourceWithWaitSupport, IResourceWithProbes,
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
211private sealed class TestResource(string name) : Resource(name), IResourceWithEnvironment
Aspire.Hosting.Kafka (1)
KafkaServerResource.cs (1)
12public class KafkaServerResource(string name) : ContainerResource(name), IResourceWithConnectionString, IResourceWithEnvironment
Aspire.Hosting.RabbitMQ (1)
RabbitMQServerResource.cs (1)
9public class RabbitMQServerResource : ContainerResource, IResourceWithConnectionString, IResourceWithEnvironment
Aspire.Hosting.Tests (1)
ResourceNotificationTests.cs (1)
679IResourceWithEnvironment,
48 references to IResourceWithEnvironment
Aspire.Hosting (33)
ApplicationModel\ResourceExtensions.cs (2)
166/// Using <see cref="GetEnvironmentVariableValuesAsync(IResourceWithEnvironment, DistributedApplicationOperation)"/> inside 190public 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 (2)
134public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder) where T : IResourceWithEnvironment 155public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder, OtlpProtocol protocol) where T : IResourceWithEnvironment
ResourceBuilderExtensions.cs (28)
34public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T : IResourceWithEnvironment 51where T : IResourceWithEnvironment 75where T : IResourceWithEnvironment 97public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T : IResourceWithEnvironment 113public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T : IResourceWithEnvironment 128public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T : IResourceWithEnvironment 145where T : IResourceWithEnvironment 168where T : IResourceWithEnvironment 208public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T : IResourceWithEnvironment 234where T : IResourceWithEnvironment 258where T : IResourceWithEnvironment 441where TDestination : IResourceWithEnvironment 468where TDestination : IResourceWithEnvironment 544where TDestination : IResourceWithEnvironment 564where TDestination : IResourceWithEnvironment 584where TDestination : IResourceWithEnvironment 626where TDestination : IResourceWithEnvironment 699where TDestination : IResourceWithEnvironment 709where T : IResourceWithEnvironment 852if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment) 2252where TResource : IResourceWithEnvironment, IResourceWithArgs 2308where TResource : IResourceWithEnvironment, IResourceWithArgs 2356where TResource : IResourceWithEnvironment, IResourceWithArgs 2401where TResource : IResourceWithArgs, IResourceWithEnvironment 2428where TResource : IResourceWithEnvironment, IResourceWithArgs 2452where TResource : IResourceWithEnvironment, IResourceWithArgs 2473where TResource : IResourceWithEnvironment, IResourceWithArgs 2495where TResource : IResourceWithEnvironment, IResourceWithArgs
Aspire.Hosting.Azure (3)
AzureBicepResourceExtensions.cs (3)
79where T : IResourceWithEnvironment 99where T : IResourceWithEnvironment 116where T : IResourceWithEnvironment
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
410where TResource : IResourceWithEnvironment
Aspire.Hosting.Docker (1)
DockerComposeInfrastructure.cs (1)
84if (resource is IResourceWithEnvironment resourceWithEnv && resource.Annotations.OfType<OtlpExporterAnnotation>().Any())
Aspire.Hosting.Maui (2)
MauiOtlpExtensions.cs (2)
54where T : IMauiPlatformResource, IResourceWithEnvironment 139where T : IMauiPlatformResource, 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 (2)
QdrantBuilderExtensions.cs (2)
137where TDestination : IResourceWithEnvironment 150where TDestination : IResourceWithEnvironment
Aspire.Hosting.Qdrant.Tests (1)
QdrantPublicApiTests.cs (1)
82IResourceBuilder<IResourceWithEnvironment> builder = null!;