DistributedApplicationFactory Constructors
Class Constructors 2 members
Factory for creating a distributed application for testing.
Constructor(Type, string[]) Section titled Constructor(Type, string[]) Factory for creating a distributed application for testing.
public class DistributedApplicationFactory{ public DistributedApplicationFactory( Type entryPoint, string[] args) { // ... }}Parameters
entryPoint Type A type in the entry point assembly of the target Aspire AppHost. Typically, the Program class can be used. args string[] The command-line arguments to pass to the entry point. Constructor(Type) Section titled Constructor(Type) Initializes a new instance of the
DistributedApplicationFactory class. public class DistributedApplicationFactory{ public DistributedApplicationFactory( Type entryPoint) { // ... }}Parameters
entryPoint Type A type in the entry point assembly of the target Aspire AppHost. Typically, the Program class can be used.