Пример #1
0
        public void RemoveContentController(ContentTypeController controller)
        {
            controller.ContentOpened -= ControllerContentOpenedHandler;
            controller.ContentClosed -= ControllerContentClosedHandler;

            _contentControllers.Remove(controller);
        }
Пример #2
0
        public void AddContentController(ContentTypeController controller)
        {
            controller.ContentOpened += ControllerContentOpenedHandler;
            controller.ContentClosed += ControllerContentClosedHandler;

            _contentControllers.Add(controller);
        }