Exemplo n.º 1
0
 public ActivateWorkItemActor(IOptions <List <DevOpsChatUserMap> > devOpsChatUserMapsOptions,
                              IOptions <CurrentIterationInfo> currentIterationOptions, ILogger logger)
 {
     _devOpsChatUserMaps = devOpsChatUserMapsOptions.Value;
     _logger             = logger;
     _currentIteration   = currentIterationOptions.Value;
     Receive <IReadOnlyList <JObject> >(HandleIncomingWorkItems);
 }
Exemplo n.º 2
0
 public DescriptiveTitleActor(ILogger logger, IOptions <AzureDevOpsSettings> azureDevOpsSettingsOptions,
                              IOptions <List <DevOpsChatUserMap> > devOpsChatUserMapOptions, IOptions <CurrentIterationInfo> currentIterationOptions)
 {
     _logger = logger;
     _azureDevOpsSettings = azureDevOpsSettingsOptions.Value;
     _devOpsChatUserMaps  = devOpsChatUserMapOptions.Value;
     _currentIteration    = currentIterationOptions.Value;
     Receive <IReadOnlyList <JObject> >(HandleIncomingWorkItems);
 }
        public GreatWorkActor(
            IOptions <List <DevOpsChatUserMap> > devOpsChatUserMapsOptions,
            IOptions <EngineeringManagerInfo> engineeringManagerInfoOptions,
            IOptions <CurrentIterationInfo> currentIterationOptions, ILogger logger)
        {
            _engineeringManagerInfo = engineeringManagerInfoOptions.Value;
            _logger             = logger;
            _devOpsChatUserMaps = devOpsChatUserMapsOptions.Value;
            _currentIteration   = currentIterationOptions.Value;

            Receive <IReadOnlyList <JObject> >(HandleIncomingWorkItems);
        }