internal IntActionSettingViewModel(BindableActionSetting setting) : base(setting) { if (setting.Attribute.GetType() != typeof(IntActionSettingAttribute)) { throw new ArgumentException("Only IntActionSettingAttribute settings are allowed.", nameof(setting)); } }
protected ActionSettingViewModel(BindableActionSetting setting) { Setting = setting; LoadFromModel(); EnableTouchedTracking(); }