Beispiel #1
0
        public AccountBilled(AccountNumber accountNumber, Recency recency)
        {
            Mandate.ParameterNotNullOrEmpty(accountNumber, "accountNumber");
            Mandate.ParameterNotDefaut(recency, "recency");

            Recency = recency;
            AccountNumber = accountNumber;
        }
Beispiel #2
0
        public AccountBilled(AccountNumber accountNumber, ClientId clientId, Recency recency)
        {
            Mandate.ParameterNotNullOrEmpty(accountNumber, "accountNumber");
            Mandate.ParameterNotNullOrEmpty(clientId, "clientId");

            Recency = recency;
            ClientId = clientId;
            AccountNumber = accountNumber;
        }
Beispiel #3
0
 void IHandleAccountStateTransitions.When(AccountBilled @event)
 {
     recency = @event.Recency;
 }
Beispiel #4
0
 public AccountBilled(AccountNumber accountNumber, Recency recency)
 {
     Recency = recency;
     AccountNumber = accountNumber;
 }
Beispiel #5
0
 void IAccountState.When(AccountBilled @event)
 {
     recency = @event.Recency;
 }