Class TestHarnessEngineRequestSubmitterBuilderFactory
Defines a method for creating a
Inheritance
System.Object
TestHarnessEngineRequestSubmitterBuilderFactory
Namespace: Copper.Conventions.Method.Testing.Harness.V1
Assembly: Copper.Conventions.Method.Testing.Harness.dll
Syntax
public class TestHarnessEngineRequestSubmitterBuilderFactory : IEngineRequestSubmitterBuilderFactory, IRequestSubmitterBuilderFactory
Constructors
View SourceTestHarnessEngineRequestSubmitterBuilderFactory(ConsumerCollection)
Initializes a new instance of the TestHarnessEngineRequestSubmitterBuilderFactory class.
Declaration
public TestHarnessEngineRequestSubmitterBuilderFactory(ConsumerCollection consumerCollection)
Parameters
Type | Name | Description |
---|---|---|
ConsumerCollection | consumerCollection | The consumer collection. |
Methods
View SourceCreateFor<TContract>(String, Boolean)
Creates a
Declaration
public 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. |