DistributedApplicationModelExtensions.GetBuildResources 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.
Returns the build resources from the DistributedApplicationModel. Build resources are those that are either build-only containers or project resources, and are not marked to be ignored by the manifest publishing callback annotation.
public static System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.IResource> GetBuildResources(this Aspire.Hosting.ApplicationModel.DistributedApplicationModel model);
static member GetBuildResources : Aspire.Hosting.ApplicationModel.DistributedApplicationModel -> seq<Aspire.Hosting.ApplicationModel.IResource>
<Extension()>
Public Iterator Function GetBuildResources (model As DistributedApplicationModel) As IEnumerable(Of IResource)
Parameters
The distributed application model to extract build resources from.
Returns
An enumerable of build IResource in the model.