Example #1
0
        private static void DomainReset()
        {
            if (GlobalEventTable != null)
            {
                GlobalEventTable.Clear();
            }

            if (EventTable != null)
            {
                EventTable.Clear();
            }
        }
Example #2
0
        /// <summary>
        /// Reset the system. Removes all events.
        /// </summary>
        public static void Clear()
        {
            if (GlobalEventTable != null)
            {
                GlobalEventTable.Clear();
            }

            if (EventTable != null)
            {
                EventTable.Clear();
            }
        }