Skip to content
DocsTry Aspire
DocsTry

DistributedApplicationModel Constructors

ClassConstructors2 members
Represents a distributed application.
Constructor(IResourceCollection)Section titled Constructor(IResourceCollection)
Represents a distributed application.
public class DistributedApplicationModel
{
public DistributedApplicationModel(
IResourceCollection resources)
{
// ...
}
}
resourcesIResourceCollectionThe resource collection used to initiate the model.
Constructor(IEnumerable<IResource>)Section titled Constructor(IEnumerable<IResource>)
Initializes a new instance of the DistributedApplicationModel class with the specified resource collection.
public class DistributedApplicationModel
{
public DistributedApplicationModel(
IEnumerable<IResource> resources)
{
// ...
}
}
resourcesIEnumerable<IResource> The resources used to initiate the model.