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));
 }