예제 #1
0
 public UserName(EntUser id, string firstName, string lastName)
 {
     this.Id        = id;
     this.FirstName = firstName;
     this.LastName  = lastName;
 }
예제 #2
0
 public UserEmail WithId(EntUser id)
 {
     return(new UserEmail(id: id, email: this.Email));
 }
예제 #3
0
 public UserName WithId(EntUser id)
 {
     return(new UserName(id: id, firstName: this.FirstName, lastName: this.LastName));
 }
예제 #4
0
 public UserEmail(EntUser id, string email)
 {
     this.Id    = id;
     this.Email = email;
 }