AppEventsWM.EventClient.Fire C# (CSharp) Method

Fire() public method

Fires an event with the given Name
public Fire ( string eventName, bool runRules ) : EventClient
eventName string The event name to fire
runRules bool Weather or not the Rules should be run
return EventClient
        public EventClient Fire(string eventName, bool runRules)
        {
            _eventStore.Fire(eventName);

            if (runRules)
            {
                RunRules();
            }

            return this;
        }