Class EngineBuilder<TEngineBuilder, TAccessProxyBuilder>
Provides the abstract builder class for a ServiceHost<TServiceHostBuilder> for an Engine.
Inheritance
System.Object
ServiceHostBuilder<TEngineBuilder>
EngineBuilder<TEngineBuilder, TAccessProxyBuilder>
Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineBuilder`1
Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineBuilder`1
Copper.Conventions.Method.Testing.Harness.V1.TestHarnessEngineBuilder`1
Copper.Conventions.Method.Testing.Host.V1.EngineTestHostBuilder
Copper.Conventions.Method.Testing.Host.V1.EngineTestHostBuilder
Copper.Conventions.Method.Testing.Host.V1.EngineTestHostBuilder
Namespace: Copper.Conventions.Method.Service.V1
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public abstract class EngineBuilder<TEngineBuilder, TAccessProxyBuilder> : ServiceHostBuilder<TEngineBuilder> where TEngineBuilder : EngineBuilder<TEngineBuilder, TAccessProxyBuilder> where TAccessProxyBuilder : AccessProxyBuilder<TAccessProxyBuilder>
Type Parameters
Name | Description |
---|---|
TEngineBuilder | The Engine builder type. |
TAccessProxyBuilder | The Access proxy builder type. |
Constructors
View SourceEngineBuilder(Type, String)
Initializes a new instance of the EngineBuilder<TEngineBuilder, TAccessProxyBuilder> class.
Declaration
protected EngineBuilder(Type implementationType, string serviceTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | implementationType | The implementation type. |
System.String | serviceTypeName | The service type name. |
Properties
View SourceAccessProxyComponentConfiguration
Gets the access proxy component configuration.
Declaration
protected abstract ChildComponentConfiguration<TAccessProxyBuilder> AccessProxyComponentConfiguration { get; }
Property Value
Type | Description |
---|---|
ChildComponentConfiguration<TAccessProxyBuilder> | The access proxy component configuration. |
Methods
View SourceAppendDiscoveryServiceInstanceListener()
Appends a discovery service instance listener.
Declaration
public TEngineBuilder AppendDiscoveryServiceInstanceListener()
Returns
Type | Description |
---|---|
TEngineBuilder |
ConfigureAccessProxyComponentConfiguration(Action<ChildComponentConfiguration<TAccessProxyBuilder>>)
Configures Engine's Access proxy component configuration.
Declaration
public TEngineBuilder ConfigureAccessProxyComponentConfiguration(Action<ChildComponentConfiguration<TAccessProxyBuilder>> configureDelegate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ChildComponentConfiguration<TAccessProxyBuilder>> | configureDelegate | The delegate for configuring the |
Returns
Type | Description |
---|---|
TEngineBuilder |