DistributedApplicationTestingBuilder.Create 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.
Overloads
Create(String[]) |
Creates a new instance of IDistributedApplicationTestingBuilder. |
Create(String[], Action<DistributedApplicationOptions,HostApplicationBuilderSettings>) |
Creates a new instance of IDistributedApplicationTestingBuilder. |
Create(String[])
Creates a new instance of IDistributedApplicationTestingBuilder.
public static Aspire.Hosting.Testing.IDistributedApplicationTestingBuilder Create(params string[] args);
static member Create : string[] -> Aspire.Hosting.Testing.IDistributedApplicationTestingBuilder
Public Shared Function Create (ParamArray args As String()) As IDistributedApplicationTestingBuilder
Parameters
- args
- String[]
The command line arguments to pass to the entry point.
Returns
A new instance of IDistributedApplicationTestingBuilder.
Applies to
Create(String[], Action<DistributedApplicationOptions,HostApplicationBuilderSettings>)
Creates a new instance of IDistributedApplicationTestingBuilder.
public static Aspire.Hosting.Testing.IDistributedApplicationTestingBuilder Create(string[] args, Action<Aspire.Hosting.DistributedApplicationOptions,Microsoft.Extensions.Hosting.HostApplicationBuilderSettings> configureBuilder);
static member Create : string[] * Action<Aspire.Hosting.DistributedApplicationOptions, Microsoft.Extensions.Hosting.HostApplicationBuilderSettings> -> Aspire.Hosting.Testing.IDistributedApplicationTestingBuilder
Public Shared Function Create (args As String(), configureBuilder As Action(Of DistributedApplicationOptions, HostApplicationBuilderSettings)) As IDistributedApplicationTestingBuilder
Parameters
- args
- String[]
The command line arguments to pass to the entry point.
- configureBuilder
- Action<DistributedApplicationOptions,HostApplicationBuilderSettings>
The delegate used to configure the builder.
Returns
A new instance of IDistributedApplicationTestingBuilder.