コード例 #1
0
 public RepositorySyncerBase(ISyncedRepository <T> repo, IRoomContext room, ITaskScheduler taskScheduler, IPlayerRepository playerRepo, ISerializer serializer, IConfirmationManager confirmationManager, IShamanLogger logger)
 {
     _repo                = repo;
     Room                 = room;
     _taskScheduler       = taskScheduler;
     _playerRepo          = playerRepo;
     _serializer          = serializer;
     _confirmationManager = confirmationManager;
     _logger              = logger;
     _id = Guid.NewGuid();
     _shamanRoomSender = new ShamanRoomSender(Room.GetSender(), _serializer);
 }
コード例 #2
0
ファイル: Worker.cs プロジェクト: svonidze/MediaAccess
        public Worker(
            ILogger <Worker> logger,
            IOptionsMonitor <TimeSettings> optionsSnapshot,
            IModulDengiClient client,
            IConfirmationManager confirmationManager,
            IAccountant accountant)
        {
            this.logger = logger;
            this.confirmationCheckTimeSettings = optionsSnapshot.Get(nameof(this.confirmationCheckTimeSettings));
            this.newProjectCheckTimeSettings   = optionsSnapshot.Get(nameof(this.newProjectCheckTimeSettings));

            this.client = client;
            this.confirmationManager = confirmationManager;
            this.accountant          = accountant;
        }
コード例 #3
0
 public SyncersManager(ITaskScheduler taskScheduler, IShamanLogger logger, IConfirmationManager confirmationManager)
 {
     _taskScheduler       = taskScheduler;
     _logger              = logger;
     _confirmationManager = confirmationManager;
 }