private void AddKeybinding(IntFilterParameterModel model, string value, ModificationType modType, Key key) { var val = GetIntValue(value); var binding = new IntFilterParameterModel.IntParameterAction(val, modType); model.Keybindings[key] = binding; }
private void AddParameterAction(IntFilterParameterModel model, string value, ModificationType modType, ActionType actionType) { var val = GetIntValue(value); var action = new IntFilterParameterModel.IntParameterAction(val, modType); model.Actions[actionType] = action; }
public IntFilterParameterViewModel(IntFilterParameterModel parameter) : base(parameter) { this.parameter = parameter; currentValue = parameter.Value; }