Exemple #1
0
        private void SendStateChangedEvent()
        {
            StateChanged stateChangedEvent = StateChanged.Create(entity);
            Type         currentStateType  = currentState.GetType();

            stateChangedEvent.Name = currentStateType.Name;
            stateChangedEvent.Send();
        }