/// <summary>
 /// Creates a new instance of <see cref="ListenForRealtimeTweetsFromTwitterApiTask"/>.
 /// </summary>
 /// <param name="serviceProvider">An instance of <see cref="IServiceProvider"/>, used for dependency injection.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 public ListenForRealtimeTweetsFromTwitterApiTask([NotNull] IServiceProvider serviceProvider, [NotNull] CancellationToken cancellationToken) : base(serviceProvider, cancellationToken)
 {
     _twitterApiTweetService = serviceProvider.GetService <ITwitterApiTweetService>();
 }
 /// <summary>
 /// Creates a new instance of <see cref="ImportRecentTweetsFromTwitterApiTask"/>.
 /// </summary>
 /// <param name="serviceProvider">An instance of <see cref="IServiceProvider"/>, used for dependency injection.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 public ImportRecentTweetsFromTwitterApiTask([NotNull] IServiceProvider serviceProvider, [NotNull] CancellationToken cancellationToken) : base(serviceProvider, cancellationToken)
 {
     _twitterApiTweetService = serviceProvider.GetService <ITwitterApiTweetService>();
     _apiConfiguration       = serviceProvider.GetService <IOptions <ApiConfiguration> >();
     _blashHub = serviceProvider.GetService <IHubContext <BlashHub> >();
 }