Class TestHarnessManagerRequestSubmitterBuilderFactory
Defines a method for creating a
Inheritance
System.Object
TestHarnessManagerRequestSubmitterBuilderFactory
Namespace: Copper.Conventions.Method.Testing.Harness.V1
Assembly: Copper.Conventions.Method.Testing.Harness.dll
Syntax
public class TestHarnessManagerRequestSubmitterBuilderFactory : IManagerRequestSubmitterBuilderFactory, IRequestSubmitterBuilderFactory
Constructors
View SourceTestHarnessManagerRequestSubmitterBuilderFactory(InMemoryBusControlSettings)
Initializes a new instance of the TestHarnessManagerRequestSubmitterBuilderFactory class.
Declaration
public TestHarnessManagerRequestSubmitterBuilderFactory(InMemoryBusControlSettings inMemoryBusControlSettings)
Parameters
Type | Name | Description |
---|---|---|
InMemoryBusControlSettings | inMemoryBusControlSettings | The in memory bus control settings. |
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. |