Пример #1
0
        public static void Load([NotNull] this ISettingsTyped typedSettings)
        {
            if (typedSettings == null)
            {
                throw new ArgumentNullException(nameof(typedSettings));
            }

            typedSettings.Settings.Load();
        }
Пример #2
0
        public static void Save([NotNull] this ISettingsTyped typedSettings)
        {
            if (typedSettings == null)
            {
                throw new ArgumentNullException("typedSettings");
            }

            typedSettings.Settings.Save();
        }