ContainerResourceExtensions.GetContainerResources 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 a collection of container resources in the specified distributed application model.
public static System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.IResource> GetContainerResources (this Aspire.Hosting.ApplicationModel.DistributedApplicationModel model);
static member GetContainerResources : Aspire.Hosting.ApplicationModel.DistributedApplicationModel -> seq<Aspire.Hosting.ApplicationModel.IResource>
<Extension()>
Public Iterator Function GetContainerResources (model As DistributedApplicationModel) As IEnumerable(Of IResource)
Parameters
The distributed application model to search for container resources.
Returns
A collection of container resources in the specified distributed application model.