public void ProvideInfo(BaseBetRangingResultBuilderContext <TUnifiedBet, TBetMainInfo> context)
        {
            var taxInfoDict = GetBetsTaxDict(context.UserId, context.RangingResult.Items);

            foreach (var bet in context.RangingResult.Items)
            {
                if (taxInfoDict.ContainsKey(bet.Id))
                {
                    bet.TaxInfo = taxInfoDict[bet.Id];
                }
            }
        }
 public void ProvideInfo(BaseBetRangingResultBuilderContext <ItUnifiedBet, ItBetMainInfo> buildContext)
 {
     MapRegulationInfoList(buildContext.RangingResult.Items, buildContext.BetsMainInfoRangingResult.Items);
 }
Exemplo n.º 3
0
 public void ProvideInfo(BaseBetRangingResultBuilderContext <TUnifiedBet, TBetMainInfo> buildContext)
 {
     throw new NotImplementedException();
 }