Class EngineRequestSubmitterBuilderFactory
Defines a method for creating a
Inheritance
System.Object
EngineRequestSubmitterBuilderFactory
Namespace: Copper.Conventions.Method.Service.V1
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public class EngineRequestSubmitterBuilderFactory : IEngineRequestSubmitterBuilderFactory, IRequestSubmitterBuilderFactory
Constructors
View SourceEngineRequestSubmitterBuilderFactory(ITransportMetadataProvider<TransportMetadata>)
Initializes a new instance of the EngineProxy class.
Declaration
public EngineRequestSubmitterBuilderFactory(ITransportMetadataProvider<TransportMetadata> transportMetadataProvider)
Parameters
Type | Name | Description |
---|---|---|
ITransportMetadataProvider<TransportMetadata> | transportMetadataProvider | The transport metadata provider. |
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. |