Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeMessageTargetTaskModuleService"/> class.
 /// </summary>
 /// <param name="teamRepository">The team repository.</param>
 /// <param name="changeMessageTargetCardRenderer">The change message target card renderer.</param>
 /// <param name="messageTargetChannelNameService">The message target channel name service.</param>
 public ChangeMessageTargetTaskModuleService(
     TeamRepository teamRepository,
     ChangeMessageTargetCardRenderer changeMessageTargetCardRenderer,
     MessageTargetChannelNameService messageTargetChannelNameService)
 {
     this.teamRepository = teamRepository;
     this.changeMessageTargetCardRenderer = changeMessageTargetCardRenderer;
     this.messageTargetChannelNameService = messageTargetChannelNameService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamDataController"/> class.
 /// </summary>
 /// <param name="teamRepository">Team data repository instance.</param>
 /// <param name="userRepository">User repository service.</param>
 /// <param name="userTeamMembershipRepository">User team membership repository service.</param>
 /// <param name="turnContextService">The bot turn context service. It helps to create a turn context on the fly.</param>
 /// <param name="changeMessageTargetCardRenderer">The change message target card renderer.</param>
 /// <param name="messageTargetChannelNameService">The message target channel name service.</param>
 public TeamDataController(
     TeamRepository teamRepository,
     UserRepository userRepository,
     UserTeamMembershipRepository userTeamMembershipRepository,
     TurnContextService turnContextService,
     ChangeMessageTargetCardRenderer changeMessageTargetCardRenderer,
     MessageTargetChannelNameService messageTargetChannelNameService)
 {
     this.teamRepository = teamRepository;
     this.userRepository = userRepository;
     this.userTeamMembershipRepository    = userTeamMembershipRepository;
     this.turnContextService              = turnContextService;
     this.changeMessageTargetCardRenderer = changeMessageTargetCardRenderer;
     this.messageTargetChannelNameService = messageTargetChannelNameService;
 }