public void DeactivateAccount(LoyaltyPointAccount account)
            {
                log.Info("Request to deactivate account '{0}'.", account);

                decorated.DeactivateAccount(account);

                log.Info("Account '{0}' deactivated.", account);
            }
コード例 #2
0
            public void DeactivateAccount(AccountStatusAwareOperations context, IAccountIdentity account)
            {
                logger.LogInfo("Request to deactivate account '{0}'.", account);

                decorated.DeactivateAccount(context, account);

                logger.LogInfo("Account '{0}' deactivated.", account);
            }
            public void DeactivateAccount(LoyaltyPointAccount account)
            {
                log.Warning("Request to deactivate a new account that is not active yet: {0}.", account);

                decorated.DeactivateAccount(account);
            }
コード例 #4
0
            public void DeactivateAccount(LoyaltyPointAccount account)
            {
                log.Warning("Attempt to deactivate already inactive account '{0}'.", account);

                decorated.DeactivateAccount(account);
            }
コード例 #5
0
 public void DeactivateAccount(IAccountIdentity account)
 {
     state.DeactivateAccount(this, account);
 }
コード例 #6
0
 public void Deactivate()
 {
     state.DeactivateAccount(this);
 }