Exemplo n.º 1
0
        public static T Validate(T settings, ISettingOverride settingOverride,
                                 ISettingError settingError, IApplicationOverride applicationOverride)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            ValidateAllSettings(settings.GetType(), settings, settingOverride, settingError, applicationOverride);

            return(settings);
        }
Exemplo n.º 2
0
 public static T Validate(T settings, IApplicationOverride applicationOverride)
 {
     return(Validate(settings, null, null, applicationOverride));
 }