Пример #1
0
 private bool Equals(OptionsGeneral options)
 {
     return(m_loggerPriority.Equals(options.m_loggerPriority) &&
            m_onBuildProject.Equals(options.m_onBuildProject) &&
            m_onRebuildProject.Equals(options.m_onRebuildProject) &&
            m_onBuildSolution.Equals(options.m_onBuildSolution) &&
            m_onrebuildSolution.Equals(options.m_onrebuildSolution) &&
            m_autoFormatOptionsForC.Equals(options.m_autoFormatOptionsForC) &&
            m_autoFormatOptionsForCSharp.Equals(options.m_autoFormatOptionsForCSharp) &&
            m_createDumpFileOnError.Equals(options.m_createDumpFileOnError) &&
            m_createDumpFileOnError.Equals(options.m_createDumpFileOnError) &&
            m_onDocumentSave.Equals(options.m_onDocumentSave));
 }
Пример #2
0
 public OptionsGeneral(OptionsGeneral general)
 {
     m_loggerPriority           = general.m_loggerPriority;
     m_onDocumentSave           = general.m_onDocumentSave;
     m_onBuildProject           = general.m_onBuildProject;
     m_onRebuildProject         = general.m_onRebuildProject;
     m_onBuildSolution          = general.m_onBuildSolution;
     m_onrebuildSolution        = general.m_onrebuildSolution;
     m_handleNoneProjectFile    = general.m_handleNoneProjectFile;
     m_trackChanges             = general.m_trackChanges;
     m_autoFormatWhenKeyPressed = general.m_autoFormatWhenKeyPressed;
     m_autoFormatOptionsForC    = general.m_autoFormatOptionsForC;
     m_createDumpFileOnError    = general.m_createDumpFileOnError;
     m_dumpFilePath             = general.m_dumpFilePath;
 }