1 implementation of IResourceWithEnvironment
Aspire.Hosting.RabbitMQ (1)
RabbitMQServerResource.cs (1)
9
public class RabbitMQServerResource : ContainerResource, IResourceWithConnectionString,
IResourceWithEnvironment
33 references to IResourceWithEnvironment
Aspire.Hosting (22)
ApplicationModel\ContainerResource.cs (1)
11
public class ContainerResource(string name, string? entrypoint = null) : Resource(name),
IResourceWithEnvironment
, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ExecutableResource.cs (1)
12
public class ExecutableResource(string name, string command, string workingDirectory) : Resource(name),
IResourceWithEnvironment
, IResourceWithArgs, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ProjectResource.cs (1)
10
public class ProjectResource(string name) : Resource(name),
IResourceWithEnvironment
, IResourceWithArgs, IResourceWithServiceDiscovery, IResourceWithWaitSupport
ApplicationModel\ResourceExtensions.cs (2)
162
/// Using <see cref="GetEnvironmentVariableValuesAsync(
IResourceWithEnvironment
, DistributedApplicationOperation)"/> inside
185
public static async ValueTask<Dictionary<string, string>> GetEnvironmentVariableValuesAsync(this
IResourceWithEnvironment
resource,
Dashboard\ConsoleLogsConfigurationExtensions.cs (1)
10
internal static IResourceBuilder<T> ConfigureConsoleLogs<T>(this IResourceBuilder<T> builder) where T :
IResourceWithEnvironment
OtlpConfigurationExtensions.cs (1)
117
public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder) where T :
IResourceWithEnvironment
ResourceBuilderExtensions.cs (15)
30
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, string? value) where T :
IResourceWithEnvironment
47
where T :
IResourceWithEnvironment
69
where T :
IResourceWithEnvironment
89
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, Func<string> callback) where T :
IResourceWithEnvironment
105
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Action<EnvironmentCallbackContext> callback) where T :
IResourceWithEnvironment
120
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, Func<EnvironmentCallbackContext, Task> callback) where T :
IResourceWithEnvironment
136
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, EndpointReference endpointReference) where T :
IResourceWithEnvironment
156
public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, IResourceBuilder<ParameterResource> parameter) where T :
IResourceWithEnvironment
180
where T :
IResourceWithEnvironment
345
where TDestination :
IResourceWithEnvironment
372
where TDestination :
IResourceWithEnvironment
391
where TDestination :
IResourceWithEnvironment
419
where TDestination :
IResourceWithEnvironment
429
where T :
IResourceWithEnvironment
536
if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and
IResourceWithEnvironment
)
Aspire.Hosting.Azure (2)
AzureBicepResourceExtensions.cs (2)
80
where T :
IResourceWithEnvironment
97
where T :
IResourceWithEnvironment
Aspire.Hosting.Kafka (1)
KafkaServerResource.cs (1)
12
public class KafkaServerResource(string name) : ContainerResource(name), IResourceWithConnectionString,
IResourceWithEnvironment
Aspire.Hosting.Orleans (5)
IProviderConfiguration.cs (1)
19
void ConfigureResource<T>(IResourceBuilder<T> resourceBuilder, string configSectionPath) where T :
IResourceWithEnvironment
;
OrleansServiceClientExtensions.cs (1)
24
where T :
IResourceWithEnvironment
, IResourceWithEndpoints
OrleansServiceExtensions.cs (2)
350
where T :
IResourceWithEnvironment
, IResourceWithEndpoints
359
where T :
IResourceWithEnvironment
, IResourceWithEndpoints
ProviderConfiguration.cs (1)
36
public void ConfigureResource<T>(IResourceBuilder<T> resourceBuilder, string configurationSectionName) where T :
IResourceWithEnvironment
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
130
where TDestination :
IResourceWithEnvironment
Aspire.Hosting.Qdrant.Tests (1)
QdrantPublicApiTests.cs (1)
75
IResourceBuilder<
IResourceWithEnvironment
> builder = null!;
Aspire.Hosting.Tests (1)
ResourceNotificationTests.cs (1)
385
IResourceWithEnvironment
,