Exemple #1
0
 public DemoGameController(IMemoryCache cache, IPRNGRandomService prng, IRandomContributorService randomContributorService, IChaosProtocolService protocol)
 {
     this.cache = cache;
     this.prng  = prng;
     this.randomContributorService = randomContributorService;
     this.protocol = protocol;
 }
Exemple #2
0
 public ProtocolService(IRandomContributorService contributorService, IWalletService walletService, ISp8deTransactionNodeService transactionNode, ILogger <ProtocolService> logger)
 {
     this.contributorService = contributorService;
     this.walletService      = walletService;
     this.transactionNode    = transactionNode;
     this.logger             = logger;
 }