public Password(PersistanceState state)
 {
     this.Value    = state.Value;
     this.SaltProp = new Salt(state.Salt);
 }
 public Salt(PersistanceState state)
 {
     this.Value = state.Value;
 }
Beispiel #3
0
 public Id(PersistanceState state)
 {
     this.Value = new Guid(state.Value);
 }
 public Email(PersistanceState state)
 {
     this.Value = state.Value;
 }
Beispiel #5
0
 public User(PersistanceState state)
 {
     this.IdProp   = new Id(state: state.Id);
     this.Email    = new Email(state: state.Email);
     this.Password = new Password(state: state.Password);
 }