IProviderConfiguration.ConfigureResource<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the provided resource.
public void ConfigureResource<T> (Aspire.Hosting.ApplicationModel.IResourceBuilder<T> resourceBuilder, string configSectionPath) where T : Aspire.Hosting.ApplicationModel.IResourceWithEnvironment;
abstract member ConfigureResource : Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.ApplicationModel.IResourceWithEnvironment)> * string -> unit (requires 'T :> Aspire.Hosting.ApplicationModel.IResourceWithEnvironment)
Public Sub ConfigureResource(Of T As IResourceWithEnvironment) (resourceBuilder As IResourceBuilder(Of T), configSectionPath As String)
Type Parameters
- T
The underlying resource builder type.
Parameters
- resourceBuilder
- IResourceBuilder<T>
The resource builder.
- configSectionPath
- String
The name of the configuration section which this value is being added to.