public Metric(MetricAlertKind alertKind, CategoryKind categoryKind, EcosystemKind?kind, string title) { Kind = alertKind; CategoryKind = categoryKind; EcosystemKind = kind; Title = title; }
public Metric(MetricAlertKind alertKind, CategoryKind categoryKind, string title) { Kind = alertKind; CategoryKind = categoryKind; Title = title; }
public static string GetMetricColour(this MetricAlertKind kind) => kind switch {
public MetricItem(MetricAlertKind alert, CategoryKind target, EcosystemKind?kind, string title, object value) : base(alert, target, kind, title) { Value = value.ToString(); }
public MetricItem(MetricAlertKind alert, CategoryKind target, string title, object value) : base(alert, target, null, title) { Value = value.ToString(); }
public MetricItems(MetricAlertKind alert, CategoryKind target, string title, IEnumerable <T> items) : base(alert, target, title) { Items = items; }