public static new void InitializeDocumentType(IUIVisualizerService uiVisualizerService, IViewModelLocator viewModelLocator) { viewModelLocator.Register <ProgressionTreeControl, ProgressTreeViewModel>(); RodskaApp app = (RodskaApp)RodskaApp.Current; app.AddType(GetTypeString(), typeof(ProgressionTree)); }
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)); }