예제 #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);
        }