Exemplo n.º 1
0
 /// <summary>
 /// Create a Notification
 /// </summary>
 public Task()
 {
     Guid = System.Guid.NewGuid().ToString();
     NoticeControlNumber     = Name = Data = "";
     this.EmailAddress       = new EmailAddress();
     this.EmailAddress.Name  = "null.null";
     this.EmailAddress.Email = "*****@*****.**";
     Created       = DateTime.Now;
     ScheduledTime = Created.AddMonths(1);
     IsTimed       = true;
     NoticeType    = NoticeType.None;
 }
 /// <summary>
 /// Create a Notification
 /// </summary>
 public Notice()
 {
     this.IsExpirable        = false;
     this.Expires            = DateTime.Now.AddMonths(12);
     Guid                    = System.Guid.NewGuid().ToString();
     NoticeControlNumber     = Name = Data = "";
     this.EmailAddress       = new EmailAddress();
     this.EmailAddress.Name  = "null.null";
     this.EmailAddress.Email = "*****@*****.**";
     Created                 = DateTime.Now;
     Scheduled               = Created.AddMonths(1);
     IsTimed                 = true;
     NoticeType              = NoticeType.None;
 }