Exemple #1
0
 public BalanceService(
     IBalanceRepository balanceRepository,
     ILogFactory logFactory,
     IBurnOptions options)
 {
     _assetId           = options.AssetId;
     _balanceRepository = balanceRepository;
     _log = logFactory.CreateLog(this);
 }
 public BurnStrategy(
     IBalanceService balanceService,
     IBurnOptions options,
     ILogFactory logFactory,
     IMatchingEngineClient meClient)
 {
     _balanceService = balanceService;
     _log            = logFactory.CreateLog(this);
     _meClient       = meClient;
     _options        = options;
 }