Ejemplo n.º 1
0
 public Monitor(
     Guid id,
     [NotNull] string name,
     MonitorStatusTypes monitorStatus,
     MonitorStep monitorStep,
     Guid? tenantId = null)
     : base(id)
 {
     Name = Check.NotNullOrWhiteSpace(name, nameof(name));
     MonitorStatus = monitorStatus;
     MonitorStep = monitorStep;
     TenantId = tenantId;
 }
Ejemplo n.º 2
0
 public MonitorEto(
     Guid?creatorId,
     DateTime?lastModificationTime,
     string name,
     string url,
     MonitorStatusTypes monitorStatus)
 {
     CreatorId            = creatorId;
     LastModificationTime = lastModificationTime;
     Name          = name;
     Url           = url;
     MonitorStatus = monitorStatus;
 }