Exemple #1
0
        public PollResultExecutor(FederationManager federationManager, ILoggerFactory loggerFactory, WhitelistedHashesRepository whitelistedHashesRepository)
        {
            this.federationManager           = federationManager;
            this.whitelistedHashesRepository = whitelistedHashesRepository;

            this.logger = loggerFactory.CreateLogger(this.GetType().FullName);
        }
        public VotingController(FederationManager fedManager, ILoggerFactory loggerFactory, VotingManager votingManager,
                                WhitelistedHashesRepository whitelistedHashesRepository)
        {
            this.fedManager    = fedManager;
            this.votingManager = votingManager;
            this.whitelistedHashesRepository = whitelistedHashesRepository;

            this.logger = loggerFactory.CreateLogger(this.GetType().FullName);
        }