NG.AssertDebug.AssertDebugConfig.RestoreDefaults C# (CSharp) Method

RestoreDefaults() public static method

public static RestoreDefaults ( ) : bool
return bool
        public static bool RestoreDefaults()
        {
            string pathFile = instance.GetLogFilePath() + "/" + personalSettingsXmlFile;
            if (File.Exists(pathFile))
            {
                File.Delete(pathFile);
                m_instance = null;
                return true;
            }

            return false;
        }