Пример #1
0
 /// <summary>
 /// Constructs a new <see cref="ChannelService"/> with the given injected dependencies.
 /// </summary>
 public ChannelService(
     IGuildChannelRepository guildChannelRepository)
 {
     _guildChannelRepository = guildChannelRepository;
 }
Пример #2
0
 /// <summary>
 /// Constructs a new <see cref="ChannelService"/> with the given injected dependencies.
 /// </summary>
 /// <param name="discordClient">The value to use for <see cref="DiscordClient"/>.</param>
 public ChannelService(IDiscordClient discordClient, IGuildChannelRepository guildChannelRepository)
 {
     DiscordClient          = discordClient;
     GuildChannelRepository = guildChannelRepository;
 }