Class OnlySupportedRuntimeVariables
Verify that all RuntimeVariables present in the MetricsPlan have names from from a given set.
Inherited Members
Namespace: Mangrove.MetricSetTransformers.Validation
Assembly: MetricSetTransformers.dll
Syntax
public class OnlySupportedRuntimeVariables : LoggingValidatorBase, IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>
Constructors
View SourceOnlySupportedRuntimeVariables(ILogger)
Create a validator that makes sure there are no RuntimeVariables in the MetricsPlan, i.e. none are supported.
Declaration
public OnlySupportedRuntimeVariables(ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger |
OnlySupportedRuntimeVariables(ILogger, ISet<String>)
Verify that all RuntimeVariables present in the MetricsPlan have names from from a given set.
Declaration
public OnlySupportedRuntimeVariables(ILogger logger, ISet<string> supportedNames)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | |
| ISet<String> | supportedNames |
Remarks
If supportedNames is empty, then none of the
RuntimeVariables will be supported.
Methods
View SourceTransformWithTracing(MetricsPlan)
Declaration
public override List<string> TransformWithTracing(MetricsPlan plan)
Parameters
| Type | Name | Description |
|---|---|---|
| MetricsPlan | plan |
Returns
| Type | Description |
|---|---|
| List<String> |