Example #1
0
        /// <summary>
        /// Trigger work completed domain event
        /// </summary>
        void TriggerWorkCompletedDomainEvent()
        {
            //Local event handler
            DomainEventManager?.TriggerDomainEvent(EventTriggerTime.WorkCompleted, DomainEvents);

            //Global event handler
            DomainEventBus.GlobalDomainEventManager?.TriggerDomainEvent(EventTriggerTime.WorkCompleted, DomainEvents);
        }