/// <summary>
 /// Initializes a new instance of the <see cref="PersonAddedInChannelHandler"/> class.
 /// </summary>
 /// <param name="teamRepository">The team repository.</param>
 /// <param name="welcomeTeamAndMembersService">The welcome team and members service.</param>
 public PersonAddedInChannelHandler(
     TeamRepository teamRepository,
     WelcomeTeamMembersService welcomeTeamAndMembersService)
 {
     this.teamRepository = teamRepository;
     this.welcomeTeamAndMembersService = welcomeTeamAndMembersService;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BotAddedInChannelHandler"/> class.
 /// </summary>
 /// <param name="teamRepository">The team repository.</param>
 /// <param name="botConnectorClientFactory">The bot connect client factory.</param>
 /// <param name="welcomeTeamAndMembersService">The welcome team and members service.</param>
 /// <param name="welcomeTeamMembersCardRenderer">The welcome team members card renderer.</param>
 public BotAddedInChannelHandler(
     TeamRepository teamRepository,
     BotConnectorClientFactory botConnectorClientFactory,
     WelcomeTeamMembersService welcomeTeamAndMembersService,
     WelcomeTeamMembersCardRenderer welcomeTeamMembersCardRenderer)
 {
     this.teamRepository                 = teamRepository;
     this.botConnectorClientFactory      = botConnectorClientFactory;
     this.welcomeTeamAndMembersService   = welcomeTeamAndMembersService;
     this.welcomeTeamMembersCardRenderer = welcomeTeamMembersCardRenderer;
 }