Artemis.Settings.GeneralSettings.Reset C# (CSharp) Method

Reset() public method

public Reset ( bool save = false ) : void
save bool
return void
        public void Reset(bool save = false)
        {
            JsonConvert.PopulateObject("{}", this, new JsonSerializerSettings
            {
                ObjectCreationHandling = ObjectCreationHandling.Reuse
            });

            if (save)
                SettingsProvider.Save(this);
        }