Beispiel #1
0
        /// <summary>
        /// Register services to the given store.
        /// </summary>
        /// <param name="store">ViewModelStore.</param>
        public static void RegisterServices(ViewModelStore store)
        {
            IUIVisualizerService popupVisualizer = store.GlobalServiceProvider.Resolve <IUIVisualizerService>();

            try
            {
                popupVisualizer.TryRegister("SelectHyperlinkPopup", typeof(SelectHyperlinkPopup));
                popupVisualizer.TryRegister("InsertImagePopup", typeof(InsertImagePopup));
                popupVisualizer.TryRegister("InsertTablePopup", typeof(InsertTablePopup));
            }
            catch { }
        }