Class TestHarnessManagerBuilder<TImplementation>
Provides the builder class for a
Inheritance
System.Object
ManagerBuilder<TestHarnessManagerBuilder<TImplementation>, TestHarnessAccessProxyBuilder, TestHarnessEngineProxyBuilder, TestHarnessManagerEventsProxyBuilder>
TestHarnessManagerBuilder<TImplementation>
Namespace: Copper.Conventions.Method.Testing.Harness.V1
Assembly: Copper.Conventions.Method.Testing.Harness.dll
Syntax
public sealed class TestHarnessManagerBuilder<TImplementation> : ManagerBuilder<TestHarnessManagerBuilder<TImplementation>, TestHarnessAccessProxyBuilder, TestHarnessEngineProxyBuilder, TestHarnessManagerEventsProxyBuilder> where TImplementation : class
Type Parameters
Name | Description |
---|---|
TImplementation | The implementation type. |
Properties
View SourceAccessProxyComponentConfiguration
Gets the access proxy component configuration.
Declaration
protected override ChildComponentConfiguration<TestHarnessAccessProxyBuilder> AccessProxyComponentConfiguration { get; }
Property Value
Type | Description |
---|---|
ChildComponentConfiguration<TestHarnessAccessProxyBuilder> | The access proxy component configuration. |
Overrides
Copper.Conventions.Method.Service.V1.ManagerBuilder<Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerBuilder<TImplementation>, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessAccessProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerEventsProxyBuilder>.AccessProxyComponentConfiguration
View Source
EngineProxyComponentConfiguration
Gets the engine proxy component configuration.
Declaration
protected override ChildComponentConfiguration<TestHarnessEngineProxyBuilder> EngineProxyComponentConfiguration { get; }
Property Value
Type | Description |
---|---|
ChildComponentConfiguration<TestHarnessEngineProxyBuilder> | The engine proxy component configuration. |
Overrides
Copper.Conventions.Method.Service.V1.ManagerBuilder<Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerBuilder<TImplementation>, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessAccessProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerEventsProxyBuilder>.EngineProxyComponentConfiguration
View Source
EventsProxyComponentConfiguration
Gets the events proxy component configuration.
Declaration
protected override ChildComponentConfiguration<TestHarnessManagerEventsProxyBuilder> EventsProxyComponentConfiguration { get; }
Property Value
Type | Description |
---|---|
ChildComponentConfiguration<TestHarnessManagerEventsProxyBuilder> | The events proxy component configuration. |
Overrides
Copper.Conventions.Method.Service.V1.ManagerBuilder<Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerBuilder<TImplementation>, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessAccessProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineProxyBuilder, Copper.Conventions.Method.Testing.Harness.V1.TestHarnessManagerEventsProxyBuilder>.EventsProxyComponentConfiguration
Methods
View SourceCreate()
Creates a TestHarnessManagerBuilder<TImplementation> instance.
Declaration
public static TestHarnessManagerBuilder<TImplementation> Create()
Returns
Type | Description |
---|---|
TestHarnessManagerBuilder<TImplementation> | The TestHarnessManagerBuilder<TImplementation> instance. |
UseManagerMock<TContract>(TContract)
Replaces the configured service instance for a given Manager contract with a Manager mock.
Declaration
public TestHarnessManagerBuilder<TImplementation> UseManagerMock<TContract>(TContract mock)
where TContract : class
Parameters
Type | Name | Description |
---|---|---|
TContract | mock |
Returns
Type | Description |
---|---|
TestHarnessManagerBuilder<TImplementation> |
Type Parameters
Name | Description |
---|---|
TContract |