private MetricNode(Metric name, string scheme, SchemeNode[] schemes) { Name = name; Scheme = scheme; Schemes = schemes; _schemesDictionary = schemes.ToDictionary(i => i.Name); }
private OverlayNode(bool enable, bool enableScreenMessage, Metric metric, MetricNode[] metrics) { Enable = enable; EnableScreenMessage = enableScreenMessage; Metric = metric; Metrics = metrics; _metricsDictionary = metrics.ToDictionary(i => i.Name.Name); }
public MetricNode GetMetric(Metric metric) { return _metricsDictionary[metric.Name]; }
private MetricNode(Metric name, bool enable, Unit unit) { Name = name; Enable = enable; Unit = unit; }