Пример #1
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;
 }
 public FormatOptionForLanguageC(FormatOptionForLanguageC opt)
 {
     m_autoFormatwhenTypeEnter        = opt.m_autoFormatwhenTypeEnter;
     m_autoFormatWhenTypeSemicolon    = opt.m_autoFormatWhenTypeSemicolon;
     m_autoFormatWhenTypeBracketClose = opt.m_autoFormatWhenTypeBracketClose;
 }
 private bool Equals(FormatOptionForLanguageC options)
 {
     return(m_autoFormatwhenTypeEnter.Equals(options.m_autoFormatwhenTypeEnter) &&
            m_autoFormatWhenTypeSemicolon.Equals(options.m_autoFormatWhenTypeSemicolon) &&
            m_autoFormatWhenTypeBracketClose.Equals(options.m_autoFormatWhenTypeBracketClose));
 }