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

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

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