Пример #1
0
 public static StreetNamePersistentLocalIdWasAssigned WithPersistentLocalId(this StreetNamePersistentLocalIdWasAssigned e, int persistentLocalId)
 {
     return(new StreetNamePersistentLocalIdWasAssigned(new StreetNameId(e.StreetNameId), new PersistentLocalId(persistentLocalId), new PersistentLocalIdAssignmentDate(e.AssignmentDate)));
 }
 public static StreetNamePersistentLocalIdWasAssignedAssertions Should(this StreetNamePersistentLocalIdWasAssigned subject)
 {
     return(new StreetNamePersistentLocalIdWasAssignedAssertions(subject));
 }
Пример #3
0
 private void When(StreetNamePersistentLocalIdWasAssigned @event)
 {
     _persistentLocalId = new PersistentLocalId(@event.PersistentLocalId);
 }