Skip to content
Docs Try Aspire

DistributedApplicationModel Constructors

Class Constructors 2 members
Represents a distributed application.
Constructor(IResourceCollection) Section titled Constructor(IResourceCollection)
Represents a distributed application.
public class DistributedApplicationModel
{
public DistributedApplicationModel(
IResourceCollection resources)
{
// ...
}
}
resources IResourceCollection The 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)
{
// ...
}
}
resources IEnumerable<IResource> The resources used to initiate the model.