Fixed some service names

This commit is contained in:
Toastie (DCS Team) 2024-09-21 14:57:09 +12:00
parent a0bd130a5f
commit aee8d32f61
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
13 changed files with 13 additions and 13 deletions

View file

@ -3,7 +3,7 @@ using EllieBot.Modules.Searches.Youtube;
namespace EllieBot.Modules.Searches;
public sealed class DefaultSearchServiceFactory : ISearchServiceFactory, INService
public sealed class DefaultSearchServiceFactory : ISearchServiceFactory, IEService
{
private readonly SearchesConfigService _scs;
private readonly SearxSearchService _sss;

View file

@ -2,7 +2,7 @@
namespace EllieBot.Modules.Searches;
public sealed class GoogleSearchService : SearchServiceBase, INService
public sealed class GoogleSearchService : SearchServiceBase, IEService
{
private readonly IBotCredsProvider _creds;
private readonly IHttpClientFactory _httpFactory;

View file

@ -4,7 +4,7 @@ using MorseCode.ITask;
namespace EllieBot.Modules.Searches.GoogleScrape;
public sealed class GoogleScrapeService : SearchServiceBase, INService
public sealed class GoogleScrapeService : SearchServiceBase, IEService
{
private static readonly HtmlParser _googleParser = new(new()
{

View file

@ -5,7 +5,7 @@ using System.Text.Json;
namespace EllieBot.Modules.Searches;
public sealed class SearxSearchService : SearchServiceBase, INService
public sealed class SearxSearchService : SearchServiceBase, IEService
{
private readonly IHttpClientFactory _http;
private readonly SearchesConfigService _scs;

View file

@ -3,7 +3,7 @@ using System.Net.Http.Json;
namespace EllieBot.Modules.Searches;
public sealed class InvidiousYtSearchService : IYoutubeSearchService, INService
public sealed class InvidiousYtSearchService : IYoutubeSearchService, IEService
{
private readonly IHttpClientFactory _http;
private readonly SearchesConfigService _scs;

View file

@ -1,6 +1,6 @@
namespace EllieBot.Modules.Searches.Youtube;
public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, INService
public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, IEService
{
private readonly IGoogleApiService _gapi;

View file

@ -1,6 +1,6 @@
namespace EllieBot.Modules.Searches.Youtube;
public sealed class YtdlYoutubeSearchService : YoutubedlxServiceBase, INService
public sealed class YtdlYoutubeSearchService : YoutubedlxServiceBase, IEService
{
public override async Task<VideoInfo?> SearchAsync(string query)
=> await InternalGetInfoAsync(query, false);

View file

@ -1,6 +1,6 @@
namespace EllieBot.Modules.Searches.Youtube;
public sealed class YtdlpYoutubeSearchService : YoutubedlxServiceBase, INService
public sealed class YtdlpYoutubeSearchService : YoutubedlxServiceBase, IEService
{
public override async Task<VideoInfo?> SearchAsync(string query)
=> await InternalGetInfoAsync(query, true);

View file

@ -7,7 +7,7 @@ using System.Text.Json;
namespace EllieBot.Modules.Searches.Services;
public class SearchesService : INService
public class SearchesService : IEService
{
public enum ImageTag
{

View file

@ -7,7 +7,7 @@ using EllieBot.Modules.Searches.Common.StreamNotifications;
namespace EllieBot.Modules.Searches.Services;
public sealed class StreamNotificationService : INService, IReadyExecutor
public sealed class StreamNotificationService : IEService, IReadyExecutor
{
private readonly DbService _db;
private readonly IBotStrings _strings;

View file

@ -7,7 +7,7 @@ using EllieBot.Modules.Searches.Common;
namespace EllieBot.Modules.Searches.Services;
public sealed class StreamOnlineMessageDeleterService : INService, IReadyExecutor
public sealed class StreamOnlineMessageDeleterService : IEService, IReadyExecutor
{
private readonly StreamNotificationService _notifService;
private readonly DbService _db;

View file

@ -8,7 +8,7 @@ using System.Net;
namespace EllieBot.Modules.Searches;
public sealed class TranslateService : ITranslateService, IExecNoCommand, IReadyExecutor, INService
public sealed class TranslateService : ITranslateService, IExecNoCommand, IReadyExecutor, IEService
{
private readonly IGoogleApiService _google;
private readonly DbService _db;

View file

@ -1,6 +1,6 @@
#nullable disable
// public class YtTrackService : INService
// public class YtTrackService : IEService
// {
// private readonly IGoogleApiService _google;
// private readonly IHttpClientFactory httpClientFactory;