public CreatePersonCommand(PersonName name, PersonDisplayName displayName)
 {
     Name        = Guard.NotNull(name, nameof(name));
     DisplayName = Guard.NotNull(displayName, nameof(displayName));
 }
示例#2
0
 public Person(PersonName name, PersonDisplayName displayName)
 {
     Name        = Guard.NotNull(name, nameof(name));
     DisplayName = Guard.NotNull(displayName, nameof(displayName));
 }