Implicit usings and more global usings

This commit is contained in:
Kwoth
2021-12-21 02:19:21 +01:00
parent 9223d78849
commit c66e491ce9
317 changed files with 272 additions and 1425 deletions

View File

@@ -1,10 +1,7 @@
using AngleSharp;
using AngleSharp.Html.Dom;
using NadekoBot.Services;
using NadekoBot.Modules.Searches.Common;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Searches.Services;

View File

@@ -1,5 +1,4 @@
using System.Threading.Tasks;
using LinqToDB.EntityFrameworkCore;
using LinqToDB.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models;

View File

@@ -1,10 +1,6 @@
using NadekoBot.Modules.Searches.Common;
using NadekoBot.Services;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Searches.Services;

View File

@@ -1,12 +1,7 @@
using CodeHollow.FeedReader.Feeds;
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using NadekoBot.Db;
namespace NadekoBot.Modules.Searches.Services;

View File

@@ -1,6 +1,4 @@
using System.Threading.Tasks;
namespace NadekoBot.Modules.Searches;
namespace NadekoBot.Modules.Searches;
public interface ITranslateService
{

View File

@@ -1,6 +1,4 @@
using NadekoBot.Common;
using NadekoBot.Modules.Searches.Common;
using NadekoBot.Services;
using NadekoBot.Modules.Searches.Common;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
@@ -8,10 +6,7 @@ using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using AngleSharp.Html.Dom;
using AngleSharp.Html.Parser;
using HorizontalAlignment = SixLabors.Fonts.HorizontalAlignment;

View File

@@ -1,17 +1,10 @@
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common;
using NadekoBot.Modules.Searches.Common;
using NadekoBot.Modules.Searches.Common.StreamNotifications;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using StackExchange.Redis;
using Discord.WebSocket;
using NadekoBot.Common.Collections;
using NadekoBot.Common.Replacements;
using NadekoBot.Db;
using NadekoBot.Db.Models;

View File

@@ -1,14 +1,9 @@
using System.Collections.Concurrent;
using System.Net;
using System.Threading.Tasks;
using Discord;
using Discord.Net;
using System.Net;
using LinqToDB;
using LinqToDB.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Services;
namespace NadekoBot.Modules.Searches;