Partilhar via


ProjectResourceExtensions.GetProjectResources Method

Definition

Returns all project resources in the distributed application model.

public static System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.ProjectResource> GetProjectResources (this Aspire.Hosting.ApplicationModel.DistributedApplicationModel model);
static member GetProjectResources : Aspire.Hosting.ApplicationModel.DistributedApplicationModel -> seq<Aspire.Hosting.ApplicationModel.ProjectResource>
<Extension()>
Public Function GetProjectResources (model As DistributedApplicationModel) As IEnumerable(Of ProjectResource)

Parameters

model
DistributedApplicationModel

The distributed application model.

Returns

An enumerable collection of project resources.

Applies to