共用方式為


IDistributedApplicationTestingBuilder.Resources Property

Definition

Gets the collection of resources for the distributed application.

public Aspire.Hosting.ApplicationModel.IResourceCollection Resources { get; }
member this.Resources : Aspire.Hosting.ApplicationModel.IResourceCollection
Public ReadOnly Property Resources As IResourceCollection

Property Value

Remarks

This can be mutated by adding more resources, which will update its current view.

Applies to