Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Check"/> class.
 /// create unique id on constructor.
 /// </summary>
 public Check(DateTime date, Collection collection, Resource resource, string category, CheckControl control, CheckResult result)
 {
     this.Date       = date;
     this.Category   = category;
     this.Collection = collection;
     this.Control    = control;
     this.Result     = result;
     this.Resource   = resource;
     this.Tags       = new Dictionary <string, string>();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OverviewCheck"/> class.
 /// create unique id on constructor.
 /// </summary>
 public OverviewCheck(DateTime date, Collection collection, Resource resource, string category, CheckControl control, CheckResult result, InfrastructureComponent component)
     : base(date, collection, resource, category, control, result)
 {
     this.Component = component;
 }