public SettingsHelper( [NotNull] ISettingValuesRepository settingValuesRepository, [NotNull] ISettingRepository settingRepository, [NotNull] ISettingGroupRepository settingGroupRepository, [NotNull] ISettingValidator settingValidator) { if (settingValuesRepository == null) { throw new ArgumentNullException(nameof(settingValuesRepository)); } if (settingRepository == null) { throw new ArgumentNullException(nameof(settingRepository)); } if (settingGroupRepository == null) { throw new ArgumentNullException(nameof(settingGroupRepository)); } if (settingValidator == null) { throw new ArgumentNullException(nameof(settingValidator)); } _settingValuesRepository = settingValuesRepository; _settingRepository = settingRepository; _settingGroupRepository = settingGroupRepository; _settingValidator = settingValidator; }
public void AddValidator(ISettingValidator validator) { }
public void AddValidator (ISettingValidator validator) { _validators.Add (validator); }
public void AddValidator(ISettingValidator validator) { _validators.Add(validator); }
public void AddValidator(ISettingValidator validator) { }