public ConfigurationStatViewModel( ConfigurationNodeViewModel node, ResultNodeViewModel minimumNode = null, ResultNodeViewModel maximumNode = null) { Node = node; MinimumNode = minimumNode; MaximumNode = maximumNode; }
public PassiveTreeConnectionViewModel(ResultNodeViewModel node) { if (!(node.Stat.ExplicitRegistrationType is ExplicitRegistrationType.PassiveTreeConnection)) { throw new ArgumentException($"{nameof(node)}.Stat must be explicitly registered"); } Node = node; Node.PropertyChanged += NodeOnPropertyChanged; }
public GainOnActionStatViewModel(ResultNodeViewModel node) { if (node.Stat.ExplicitRegistrationType is null) { throw new ArgumentException($"{nameof(node)}.Stat must be explicitly registered"); } Node = node; Node.PropertyChanged += NodeOnPropertyChanged; }
public ResultStatViewModel( ResultNodeViewModel node, ModifierNodeViewModelFactory modifierNodeFactory, Action <ResultStatViewModel> removeAction) { _modifierNodeFactory = modifierNodeFactory; Node = node; Node.PropertyChanged += NodeOnPropertyChanged; RemoveCommand = new RelayCommand(() => removeAction(this)); ResetModifierNodes(); }
public ModifierNodeViewModel(Form form, ModifierSource modifierSource, ResultNodeViewModel node) { Form = form; ModifierSource = modifierSource; Node = node; }
public GainOnActionStatViewModel(ResultNodeViewModel node) { Node = node; Node.PropertyChanged += NodeOnPropertyChanged; }
public ResultStatViewModel( ResultNodeViewModel node, Action <ResultStatViewModel> removeAction) { Node = node; RemoveCommand = new RelayCommand(() => removeAction(this)); }