Interface ITransformerFactory
Intermediate abstraction between a "master" coordinator, which should only have to care about configuration objects, and the work needed to create appropriate constructor parameters for various IMetricsPlanTransformer classes.
Namespace: Mangrove.Coordinator.Abstractions
Assembly: Mangrove.Coordinator.dll
Syntax
public interface ITransformerFactory
Methods
View SourceCreate(ComputationConfig, ILogger)
Use config to construct a possibly null IMetricsPlanTransformer.
Declaration
IMetricsPlanTransformer Create(ComputationConfig config, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputationConfig | config | Configuration object to convert into constructor parameters. |
| ILogger | logger | This may be injected into constructor parameters. |
Returns
| Type | Description |
|---|---|
| IMetricsPlanTransformer | Possibly null IMetricsPlanTransformer to apply. |