using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NodeNetwork.ViewModels; using ReactiveUI; namespace ExampleCodeGenApp.ViewModels { public enum PortType { Execution, Integer, String } public class CodeGenPortViewModel : PortViewModel { static CodeGenPortViewModel() { Splat.Locator.CurrentMutable.Register(() => new Views.CodeGenPortView(), typeof(IViewFor)); } #region PortType public PortType PortType { get => _portType; set => this.RaiseAndSetIfChanged(ref _portType, value); } private PortType _portType; #endregion } }