Пример #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (triggerManager != null)
                {
                    triggerManager.Dispose();
                }

                if (EventRegistry != null)
                {
                    EventRegistry.Dispose();
                }
            }

            triggerManager = null;
            EventRegistry  = null;

            base.Dispose(disposing);
        }