Exemplo n.º 1
0
 protected override void ClearCaches(bool isDuringProcessing)
 {
     if (!isDuringProcessing)
     {
         TradeSqlFinder.ClearCache();
     }
 }
Exemplo n.º 2
0
        protected override Task <TradeLogItem> FindInSqlDbAsync(TradeLogItem item, DataContext context)
        {
            var inSql = TradeSqlFinder.FindInDb(item, context, _log);

            if (inSql == null)
            {
                _log.WriteInfo(nameof(FindInSqlDbAsync), $"{item.OrderId}", item.ToJson());
            }
            return(Task.FromResult(inSql));
        }