예제 #1
0
        public static new void InitializeDocumentType(IUIVisualizerService uiVisualizerService, IViewModelLocator viewModelLocator)
        {
            viewModelLocator.Register <ProgressionTreeControl, ProgressTreeViewModel>();
            RodskaApp app = (RodskaApp)RodskaApp.Current;

            app.AddType(GetTypeString(), typeof(ProgressionTree));
        }
예제 #2
0
        public static new void InitializeDocumentType(IUIVisualizerService uiVisualizerService, IViewModelLocator viewModelLocator)
        {
            viewModelLocator.Register <DialogueView, DialogueViewModel>();
            viewModelLocator.Register <DialogueControl, DialogueViewModel>();

            uiVisualizerService.Register(typeof(DialogueViewModel), typeof(DialogueView), true);
            Splat.Locator.CurrentMutable.Register(() => new NodeView(), typeof(IViewFor <DialogueNode>));
            RodskaApp app = (RodskaApp)RodskaApp.Current;

            app.AddType(GetTypeString(), typeof(Dialogue));
        }