public Project()
 {
     this.ProjectSettings = new ProjectSettings();
     this.ProjectSettings.Changed += new EventHandler(ChildChanged);
     this.MailServerSettings = new MailServerSettings();
     this.MailServerSettings.Changed += new EventHandler(ChildChanged);
 }
Ejemplo n.º 2
0
 public Project()
 {
     this.ProjectSettings             = new ProjectSettings();
     this.ProjectSettings.Changed    += new EventHandler(ChildChanged);
     this.MailServerSettings          = new MailServerSettings();
     this.MailServerSettings.Changed += new EventHandler(ChildChanged);
 }
 public void FromEmailTestValid()
 {
     MailServerSettings target = new MailServerSettings();
     string expected = "*****@*****.**";
     string actual;
     target.FromEmail = "*****@*****.**";
     actual = target.FromEmail;
     Assert.AreEqual(expected, actual);
 }
 public void FromEmailTestNull()
 {
     MailServerSettings target = new MailServerSettings();
     target.FromEmail = "test";
     Assert.IsNull(target.FromEmail);
 }