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 Engine
Declaration
public EngineRequestSubmitterBuilderFactory(ITransportMetadataProvider<TransportMetadata> transportMetadataProvider)
Parameters
Type | Name | Description |
---|---|---|
ITransport |
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. |
applicationName | The application name. |
System. |
useCachedTransportMetadataIfAvailable |
|
Returns
Type | Description |
---|---|
System. |
A System. |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |