using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using ExampleCodeGenApp.Views; using NodeNetwork.ViewModels; using ReactiveUI; namespace ExampleCodeGenApp.ViewModels { public enum NodeType { EventNode, Function, FlowControl, Literal, Group } public class CodeGenNodeViewModel : NodeViewModel { static CodeGenNodeViewModel() { Splat.Locator.CurrentMutable.Register(() => new CodeGenNodeView(), typeof(IViewFor)); } public NodeType NodeType { get; } public CodeGenNodeViewModel(NodeType type) { NodeType = type; } } }