public void ScanNotify(DateTime now, List <MatchOddDTO> matchOdds, bool isLive, eServerType serverType)
 {
     if (serverType == eServerType.Sbo)
     {
         if (OnSboScanUpdate != null)
         {
             var invo = OnSboScanUpdate.GetInvocationList();
             foreach (ScanUpdateEvent action in invo)
             {
                 action.BeginInvoke(matchOdds, isLive, now, null, null);
             }
         }
     }
     else
     {
         if (OnIbetScanUpdate != null)
         {
             var invke = OnIbetScanUpdate.GetInvocationList();
             foreach (ScanUpdateEvent action in invke)
             {
                 action.BeginInvoke(matchOdds, isLive, now, null, null);
             }
         }
     }
 }
 private void sbobetUpdateChange_Event(List <MatchOddDTO> updatedData, bool isLive, int type = 0)
 {
     //Logger.Debug("IbetSboProcessor => sbo change event");
     if (updatedData != null && updatedData.Count > 0 && OnSboScanUpdate != null)
     {
         var invoke = OnSboScanUpdate.GetInvocationList();
         var now    = DateTime.Now;
         foreach (ScanUpdateEvent action in invoke)
         {
             action.BeginInvoke(updatedData, isLive, now, null, null);
         }
     }
 }