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