Class ManagerRequestSubmitterBuilderFactory
Defines a method for creating a
Inheritance
System.Object
ManagerRequestSubmitterBuilderFactory
Namespace: Copper.Conventions.Method.Client.V1
Assembly: Copper.Conventions.Method.Client.dll
Syntax
public class ManagerRequestSubmitterBuilderFactory : IManagerRequestSubmitterBuilderFactory, IRequestSubmitterBuilderFactory
Constructors
View SourceManagerRequestSubmitterBuilderFactory(IConfiguration, ITransportMetadataProvider<TransportMetadata>, IOptions<RequestSubmitterOptions>)
Initializes a new instance of the ManagerRequestSubmitterBuilderFactory class.
Declaration
public ManagerRequestSubmitterBuilderFactory(IConfiguration configuration, ITransportMetadataProvider<TransportMetadata> transportMetadataProvider, IOptions<RequestSubmitterOptions> requestSubmitterOptions)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | The configuration. |
ITransportMetadataProvider<TransportMetadata> | transportMetadataProvider | The transport metadata provider. |
IOptions<RequestSubmitterOptions> | requestSubmitterOptions | The request submitter options. |
Methods
View SourceCreateFor<TContract>(String, Boolean)
Creates a
Declaration
public async Task<RequestSubmitterBuilder> CreateFor<TContract>(string applicationName, bool useCachedTransportMetadataIfAvailable)
where TContract : class
Parameters
Type | Name | Description |
---|---|---|
System.String | applicationName | The application name. |
System.Boolean | useCachedTransportMetadataIfAvailable |
|
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RequestSubmitterBuilder> | A System.Threading.Tasks.Task that represents outstanding operation. The result of the System.Threading.Tasks.Task is the |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |