Show / Hide Table of Contents

Class OnlySupportedRuntimeVariables

Verify that all RuntimeVariables present in the MetricsPlan have names from from a given set.

Inheritance
Object
LoggingValidatorBase
OnlySupportedRuntimeVariables
Implements
IMetricsPlanValidator
IGenericMetricsPlanTransformer<List<String>>
Inherited Members
LoggingValidatorBase.Logger
LoggingValidatorBase.ValidatorName
LoggingValidatorBase.Transform(MetricsPlan)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetTransformers.Validation
Assembly: MetricSetTransformers.dll
Syntax
public class OnlySupportedRuntimeVariables : LoggingValidatorBase, IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>

Constructors

View Source

OnlySupportedRuntimeVariables(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
View Source

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 Source

TransformWithTracing(MetricsPlan)

Declaration
public override List<string> TransformWithTracing(MetricsPlan plan)
Parameters
Type Name Description
MetricsPlan plan
Returns
Type Description
List<String>
Overrides
LoggingValidatorBase.TransformWithTracing(MetricsPlan)

Implements

IMetricsPlanValidator
IGenericMetricsPlanTransformer<T>

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX