Beispiel #1
0
        IEnumerable <Event> Handle(Deactivate cmd)
        {
            CheckIsActive();

            yield return(new InventoryItemDeactivated());
        }
Beispiel #2
0
        void Handle(Deactivate cmd)
        {
            CheckIsActive();

            active = false;
        }