Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="level"></param>
 /// <returns></returns>
 public virtual bool IsHistoryLevelAtLeast(HistoryLevel level)
 {
     //if (log.IsEnabled(LogLevel.Debug))
     //{
     //    log.LogDebug($"Current history level: {historyLevel}, level required: {level}");
     //}
     // Comparing enums actually compares the location of values declared in
     // the enum
     return(historyLevel.IsAtLeast(level));
 }
Example #2
0
 public DefaultHistoryManager(ProcessEngineConfigurationImpl processEngineConfiguration, HistoryLevel historyLevel) : base(processEngineConfiguration)
 {
     this.historyLevel = historyLevel;
 }