コード例 #1
0
 public DbDiffChangeLoggerContext(DbDiffOptions opts, ILogger logger, DbDiffOptsLogger ltype)
 {
     m_opts     = opts;
     m_ltype    = ltype;
     m_oldValue = m_opts.DiffLogger;
     m_opts.SetLogger(m_ltype, logger);
 }
コード例 #2
0
ファイル: DbDiffOptions.cs プロジェクト: dbshell/dbshell
 public DbDiffChangeLoggerContext(DbDiffOptions opts, IMessageLogger logger, DbDiffOptsLogger ltype)
 {
     m_opts = opts;
     m_ltype = ltype;
     m_oldValue = m_opts.DiffLogger;
     m_opts.SetLogger(m_ltype, logger);
 }
コード例 #3
0
 internal void SetLogger(DbDiffOptsLogger ltype, ILogger logger)
 {
     if (ltype == DbDiffOptsLogger.DiffLogger)
     {
         DiffLogger = logger;
     }
     if (ltype == DbDiffOptsLogger.AlterLogger)
     {
         AlterLogger = logger;
     }
 }
コード例 #4
0
ファイル: DbDiffOptions.cs プロジェクト: dbshell/dbshell
 internal void SetLogger(DbDiffOptsLogger ltype, IMessageLogger logger)
 {
     if (ltype == DbDiffOptsLogger.DiffLogger) DiffLogger = logger;
     if (ltype == DbDiffOptsLogger.AlterLogger) AlterLogger = logger;
 }