Пример #1
0
            public void StateTransition(AccountStatusAwareOperations status)
            {
                logger.LogTrace("Internal state changed to '{0}'. Invoking state transition method.", decorated.GetType().FullName);

                decorated.StateTransition(status);

                logger.LogTrace("State transition method on '{0}' invoked.", decorated.GetType().Name);
            }
            public void StateTransition(LoyaltyPointAccount status)
            {
                log.Trace("Internal state changed to '{0}'. Invoking state transition method.", decorated.GetType().FullName);

                decorated.StateTransition(status);

                log.Trace("State transition method on '{0}' invoked.", decorated.GetType().Name);
            }
            public void StateTransition(LoyaltyPointAccount account)
            {
                log.Trace("Internal state changed to '{0}'.", decorated.GetType().Name);

                decorated.StateTransition(account);
            }
            public void StateTransition(AccountStatusAwareOperations context)
            {
                logger.LogTrace("Internal state changed to '0'.", decorated.GetType().Name);

                decorated.StateTransition(context);
            }