Skip to content

Add generic overload of WithEnvironment #9747

@davidfowl

Description

@davidfowl

We have lots of overloads but this can be the catch all:

IResourceBuilder<T> WithEnvironment<T, TValue>(this IResouceBuilder<T> builder, string name, TValue) 
where T : IResourceWithEnvironment,
where TValue : IValueProvider, IManifestExpressionProvider

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions