Class ManagerBuilder<TManagerBuilder, TAccessProxyBuilder, TEngineProxyBuilder, TManagerEventsProxyBuilder>
Provides the abstract builder class for a ServiceHost<TServiceHostBuilder> for an Manager.
Inheritance
Namespace: Copper.Conventions.Method.Service.V1
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public abstract class ManagerBuilder<TManagerBuilder, TAccessProxyBuilder, TEngineProxyBuilder, TManagerEventsProxyBuilder> : ServiceHostBuilder<TManagerBuilder> where TManagerBuilder : ManagerBuilder<TManagerBuilder, TAccessProxyBuilder, TEngineProxyBuilder, TManagerEventsProxyBuilder> where TAccessProxyBuilder : AccessProxyBuilder<TAccessProxyBuilder> where TEngineProxyBuilder : EngineProxyBuilder<TEngineProxyBuilder> where TManagerEventsProxyBuilder : ManagerEventsProxyBuilder<TManagerEventsProxyBuilder>
Type Parameters
| Name | Description |
|---|---|
| TManagerBuilder | The Manager builder type. |
| TAccessProxyBuilder | The Access proxy builder type. |
| TEngineProxyBuilder | The Engine proxy builder type. |
| TManagerEventsProxyBuilder | The Manager proxy builder type. |
Constructors
View SourceManagerBuilder(Type, String)
Initializes a new instance of the ManagerBuilder<TManagerBuilder, TAccessProxyBuilder, TEngineProxyBuilder, TManagerEventsProxyBuilder> class.
Declaration
protected ManagerBuilder(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. |
EngineProxyComponentConfiguration
Gets the engine proxy component configuration.
Declaration
protected abstract ChildComponentConfiguration<TEngineProxyBuilder> EngineProxyComponentConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| ChildComponentConfiguration<TEngineProxyBuilder> | The engine proxy component configuration. |
EventsProxyComponentConfiguration
Gets the events proxy component configuration.
Declaration
protected abstract ChildComponentConfiguration<TManagerEventsProxyBuilder> EventsProxyComponentConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| ChildComponentConfiguration<TManagerEventsProxyBuilder> | The events proxy component configuration. |
Methods
View SourceAppendDiscoveryServiceInstanceListener()
Appends a discovery service instance listener.
Declaration
public TManagerBuilder AppendDiscoveryServiceInstanceListener()
Returns
| Type | Description |
|---|---|
| TManagerBuilder |
ConfigureAccessProxyComponentConfiguration(Action<ChildComponentConfiguration<TAccessProxyBuilder>>)
Configures the Manager's Access proxy component configuration.
Declaration
public TManagerBuilder ConfigureAccessProxyComponentConfiguration(Action<ChildComponentConfiguration<TAccessProxyBuilder>> configureDelegate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<ChildComponentConfiguration<TAccessProxyBuilder>> | configureDelegate | The delegate for configuring the |
Returns
| Type | Description |
|---|---|
| TManagerBuilder |
ConfigureEngineProxyComponentConfiguration(Action<ChildComponentConfiguration<TEngineProxyBuilder>>)
Configures the Manager's Engine proxy component configuration.
Declaration
public TManagerBuilder ConfigureEngineProxyComponentConfiguration(Action<ChildComponentConfiguration<TEngineProxyBuilder>> configureDelegate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<ChildComponentConfiguration<TEngineProxyBuilder>> | configureDelegate | The delegate for configuring the |
Returns
| Type | Description |
|---|---|
| TManagerBuilder |
ConfigureManagerEventsProxyComponentConfiguration(Action<ChildComponentConfiguration<TManagerEventsProxyBuilder>>)
Configures the Manager's events proxy component configuration.
Declaration
public TManagerBuilder ConfigureManagerEventsProxyComponentConfiguration(Action<ChildComponentConfiguration<TManagerEventsProxyBuilder>> configureDelegate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<ChildComponentConfiguration<TManagerEventsProxyBuilder>> | configureDelegate | The delegate for configuring the |
Returns
| Type | Description |
|---|---|
| TManagerBuilder |