DistributedApplicationBuilder Constructors
DistributedApplication . Constructor(string[]) Section titled Constructor(string[])DistributedApplicationBuilder class with the specified options. public class DistributedApplicationBuilder{ public DistributedApplicationBuilder( string[] args) { // ... }}Parameters
argsstring[]The arguments provided to the builder.Remarks
Developers will not typically construct an instance of the Distributed class themselves and will instead use the Distributed. This constructor is public to allow for some testing around extensibility scenarios.
Constructor(DistributedApplicationOptions) Section titled Constructor(DistributedApplicationOptions)DistributedApplicationBuilder class with the specified options. public class DistributedApplicationBuilder{ public DistributedApplicationBuilder( DistributedApplicationOptions options) { // ... }}Parameters
optionsDistributedRemarks
Developers will not typically construct an instance of the Distributed class themselves and will instead use the Distributed. This constructor is public to allow for some testing around extensibility scenarios.
This constructor generates an instance of the I interface which is very similar to the instance that is returned from Distributed however it is not guaranteed to be 100% consistent. For typical usage it is recommended that the Distributed method is to create instances of the I interface.