/// <summary> /// Constructs a new <see cref="ChannelService"/> with the given injected dependencies. /// </summary> public ChannelService( IGuildChannelRepository guildChannelRepository) { _guildChannelRepository = guildChannelRepository; }
/// <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; }