예제 #1
0
            public void ActivateAccount(LoyaltyPointAccount account)
            {
                log.Info("Request to re-activate account '{0}'.", account);

                decorated.ActivateAccount(account);

                log.Info("Account '{0}' re-activated.", account);
            }
            public void ActivateAccount(LoyaltyPointAccount account)
            {
                log.Info("Activating new account: {0}.", account);

                decorated.ActivateAccount(account);

                log.Info("New account activated: {0}.", account);
            }
            public void ActivateAccount(AccountStatusAwareOperations context, IAccountIdentity account)
            {
                logger.LogInfo("Activating new account: {0}.", account);

                decorated.ActivateAccount(context, account);

                logger.LogInfo("New account activated: {0}.", account);
            }
            public void ActivateAccount(AccountStatusAwareOperations context, IAccountIdentity account)
            {
                logger.LogInfo("Request to re-activate account '{0}'.", account);

                decorated.ActivateAccount(context, account);

                logger.LogInfo("Account '{0}' re-activated.", account);
            }
            public void ActivateAccount(LoyaltyPointAccount account)
            {
                log.Warning("Request to activate account '{0}'. This account is already active. The request will be ignored.", account);

                decorated.ActivateAccount(account);
            }
 public void ActivateAccount(IAccountIdentity account)
 {
     state.ActivateAccount(this, account);
 }
 public void Activate()
 {
     state.ActivateAccount(this);
 }