EnvironmentCallbackContext.Resource Property
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.
The resource associated with this callback context.
public Aspire.Hosting.ApplicationModel.IResource Resource { get; }
member this.Resource : Aspire.Hosting.ApplicationModel.IResource
Public ReadOnly Property Resource As IResource
Property Value
Exceptions
Thrown when the EnvironmentCallbackContext was created without a specified resource.
Remarks
This will be set to the resource in all cases where .NET Aspire invokes the callback.