Show / Hide Table of Contents

Class ConfigurationExtensions

Wrapper for extension methods on the ComputationConfig class. Mostly user-level operations to get merged configuration.

Inheritance
Object
ConfigurationExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.Coordinator.Configuration
Assembly: Coordinator.Configuration.dll
Syntax
public static class ConfigurationExtensions

Methods

View Source

BuildConfig(IEnumerable<ConfigElement<ComputationConfig>>, ConfigElement<ComputationConfig>)

Apply merge operations on input configs starting from base and layering on the elements in the enumerable

Declaration
public static ComputationConfig BuildConfig(this IEnumerable<ConfigElement<ComputationConfig>> configs, ConfigElement<ComputationConfig> base = null)
Parameters
Type Name Description
IEnumerable<ConfigElement<ComputationConfig>> configs
ConfigElement<ComputationConfig> base
Returns
Type Description
ComputationConfig
View Source

ResolveAndBuildConfig(MetricSetConfiguration, ComputationConfig)

Recursively look up all dependent profiles by name, then merge them all against the starting configuration.

Declaration
public static ComputationConfig ResolveAndBuildConfig(this MetricSetConfiguration metricSetConfig, ComputationConfig startingConfig)
Parameters
Type Name Description
MetricSetConfiguration metricSetConfig
ComputationConfig startingConfig
Returns
Type Description
ComputationConfig
  • View Source
Back to top Generated by DocFX