Class EngineBuilder<TEngineBuilder, TAccessProxyBuilder>
Provides the abstract builder class for a ServiceHost for an Engine.
Inheritance
System.Object
ServiceHostBuilder<TEngineBuilder>
EngineBuilder<TEngineBuilder, TAccessProxyBuilder>
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 |