private ActiveDepositResultState(BankAccountState bankAccountState)
 {
     _bankAccountState = bankAccountState;
 }
 private ActiveWithdrawResultState(BankAccountState bankAccountState)
 {
     _bankAccountState = bankAccountState;
 }
示例#3
0
 protected override Func <BankAccountGrainState, BankAccountMessage, Task <BankAccountGrainState> > GetProcessorFunc
     (BankAccountState state) => state.Match <Func <BankAccountGrainState, BankAccountMessage, Task <BankAccountGrainState> > >(
     () => ZeroBalanceStateProcessor,
     () => ActiveStateProcessor,
     () => OverdrawnStateProcessor,
     () => ClosedStateProcessor);