/// <summary> /// Initializes a new instance of the <see cref="MessagesController"/> class. /// </summary> /// <param name="configuration">Configuration of Application</param> /// <param name="download">Downloads files from Internet</param> /// <param name="videoConverter">Video conversion</param> public MessagesController(IConfiguration configuration, IYoutubeDownload download, IVideoConverter videoConverter) { this.configuration = configuration; this.download = download; this.videoConverter = videoConverter; }
/// <summary> /// Initializes a new instance of the <see cref="CommandHandler"/> class. /// </summary> /// <param name="download">Downloads files from Internet</param> /// <param name="videoConverter">Video conversion</param> public CommandHandler(IYoutubeDownload download, IVideoConverter videoConverter) { this.download = download; this.videoConverter = videoConverter; }