remove all no need using

去掉不必要的引用
This commit is contained in:
anjoy8 2020-06-04 22:58:53 +08:00
parent a924b227d2
commit 6819c3a899
117 changed files with 59 additions and 434 deletions

4
.editorconfig Normal file
View File

@ -0,0 +1,4 @@
[*.cs]
# IDE0005: Using 指令是不需要的。
dotnet_diagnostic.IDE0005.severity = warning

View File

@ -1,6 +1,4 @@
using Newtonsoft.Json; using System;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;

View File

@ -1,8 +1,4 @@
using System; namespace Blog.Core.Common.DB
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.DB
{ {
public static class MainDb public static class MainDb
{ {

View File

@ -1,11 +1,8 @@
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json; using Microsoft.Extensions.Configuration.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using System.Linq; using System.Linq;
using System.Text;
namespace Blog.Core.Common namespace Blog.Core.Common
{ {

View File

@ -1,6 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper
{ {

View File

@ -1,6 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper
{ {

View File

@ -1,7 +1,5 @@
using System; using System;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq;
using System.Text; using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper

View File

@ -1,7 +1,4 @@
using Newtonsoft.Json.Linq; using System.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net; using System.Net;
using System.Text; using System.Text;

View File

@ -1,8 +1,4 @@
using System; namespace Blog.Core.Common.Helper
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.Helper
{ {
public static class HtmlHelper public static class HtmlHelper
{ {

View File

@ -1,6 +1,5 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper
{ {

View File

@ -1,5 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text; using System.Text;

View File

@ -1,7 +1,5 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper
{ {

View File

@ -1,9 +1,5 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Common namespace Blog.Core.Common
{ {

View File

@ -1,7 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
namespace Blog.Core.Common.Helper namespace Blog.Core.Common.Helper
{ {

View File

@ -1,5 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;

View File

@ -1,7 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Blog.Core namespace Blog.Core
{ {
/// <summary> /// <summary>

View File

@ -1,5 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt; using System.IdentityModel.Tokens.Jwt;
using System.Linq; using System.Linq;
using System.Security.Claims; using System.Security.Claims;

View File

@ -1,8 +1,6 @@
using RestSharp; using RestSharp;
using System; using System;
using System.Collections.Generic;
using System.Net; using System.Net;
using System.Text;
namespace Blog.Core.Common.HttpRestSharp namespace Blog.Core.Common.HttpRestSharp
{ {

View File

@ -1,7 +1,5 @@
using RestSharp; using RestSharp;
using System; using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.HttpRestSharp namespace Blog.Core.Common.HttpRestSharp
{ {

View File

@ -1,8 +1,6 @@
using RestSharp; using RestSharp;
using RestSharp.Authenticators; using RestSharp.Authenticators;
using System; using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.HttpRestSharp namespace Blog.Core.Common.HttpRestSharp
{ {
@ -101,6 +99,7 @@ namespace Blog.Core.Common.HttpRestSharp
/// }); /// });
/// </remarks> /// </remarks>
/// <returns></returns> /// <returns></returns>
[Obsolete]
public RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse> callback) public RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse> callback)
{ {
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat; request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
@ -126,6 +125,7 @@ namespace Blog.Core.Common.HttpRestSharp
/// }); /// });
/// </remarks> /// </remarks>
/// <returns></returns> /// <returns></returns>
[Obsolete]
public RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>> callback) where T : new() public RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>> callback) where T : new()
{ {
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat; request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;

View File

@ -1,8 +1,4 @@
using Blog.Core.Common.LogHelper; using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Hubs namespace Blog.Core.Hubs
{ {

View File

@ -1,8 +1,4 @@
using Blog.Core.Common.Helper; using Newtonsoft.Json;
using Blog.Core.Hubs;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SignalR;
using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;

View File

@ -1,5 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
namespace Blog.Core.Common.LogHelper namespace Blog.Core.Common.LogHelper
{ {

View File

@ -1,5 +1,4 @@
using Microsoft.Extensions.Logging; using Serilog;
using Serilog;
using Serilog.Events; using Serilog.Events;
using System; using System;
using System.IO; using System.IO;

View File

@ -3,9 +3,7 @@ using SqlSugar;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.IRepository.Base namespace Blog.Core.IRepository.Base

View File

@ -1,11 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,10 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,10 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,10 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,10 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,10 +1,5 @@
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IRepository namespace Blog.Core.IRepository
{ {

View File

@ -1,13 +1,12 @@
using System;
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
namespace Blog.Core.FrameWork.IRepository namespace Blog.Core.FrameWork.IRepository
{ {
/// <summary> /// <summary>
/// IUserRoleRepository /// IUserRoleRepository
/// </summary> /// </summary>
public interface IUserRoleRepository : IBaseRepository<UserRole>//类名 public interface IUserRoleRepository : IBaseRepository<UserRole>//类名
{ {

View File

@ -4,7 +4,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.IServices.BASE namespace Blog.Core.IServices.BASE

View File

@ -1,11 +1,5 @@
using Blog.Core.IServices.BASE; using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IServices namespace Blog.Core.IServices
{ {

View File

@ -1,10 +1,7 @@
using Blog.Core.IServices.BASE; using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Blog.Core.Model.ViewModels; using Blog.Core.Model.ViewModels;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.IServices namespace Blog.Core.IServices

View File

@ -1,10 +1,5 @@
using Blog.Core.IServices.BASE; using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.IServices namespace Blog.Core.IServices
{ {

View File

@ -1,9 +1,6 @@
using Blog.Core.IServices.BASE; using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.IServices namespace Blog.Core.IServices

View File

@ -1,9 +1,6 @@
using Blog.Core.IServices.BASE; using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.IServices namespace Blog.Core.IServices

View File

@ -1,8 +1,4 @@
using System; namespace Blog.Core.Common.WebApiClients.HttpApis
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Common.WebApiClients.HttpApis
{ {
public class Data public class Data
{ {

View File

@ -1,8 +1,4 @@
using Blog.Core.Model; using WebApiClient;
using Blog.Core.Model.Models;
using Blog.Core.Model.ViewModels;
using System.ComponentModel.DataAnnotations;
using WebApiClient;
using WebApiClient.Attributes; using WebApiClient.Attributes;
namespace Blog.Core.Common.WebApiClients.HttpApis namespace Blog.Core.Common.WebApiClients.HttpApis

View File

@ -1,6 +1,4 @@
using System; namespace Blog.Core.Model
namespace Blog.Core.Model
{ {
/// <summary> /// <summary>
/// 这是爱 /// 这是爱

View File

@ -1,8 +1,4 @@
using System; namespace Blog.Core.Model
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model
{ {
/// <summary> /// <summary>
/// 通用返回信息类 /// 通用返回信息类

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,6 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,5 +1,4 @@
using SqlSugar; using SqlSugar;
using System;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,7 +1,4 @@
using SqlSugar; namespace Blog.Core.Model.Models
using System;
namespace Blog.Core.Model.Models
{ {
public class TestMuchTableResult public class TestMuchTableResult

View File

@ -1,9 +1,6 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,5 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,6 @@
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,6 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model namespace Blog.Core.Model
{ {

View File

@ -1,7 +1,4 @@
using System; using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Blog.Core.Model namespace Blog.Core.Model
{ {

View File

@ -1,11 +1,7 @@
using Blog.Core.Common;
using Blog.Core.Common.Helper;
using Blog.Core.Model.Models;
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,9 +1,6 @@
using Blog.Core.Common; using Blog.Core.Common.DB;
using Blog.Core.Common.DB;
using SqlSugar; using SqlSugar;
using System; using System;
using System.Collections.Generic;
using System.IO;
namespace Blog.Core.Model.Models namespace Blog.Core.Model.Models
{ {

View File

@ -1,6 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model namespace Blog.Core.Model
{ {

View File

@ -1,8 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels namespace Blog.Core.Model.ViewModels
{ {

View File

@ -1,8 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels namespace Blog.Core.Model.ViewModels
{ {

View File

@ -1,8 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
namespace Blog.Core.Model.ViewModels namespace Blog.Core.Model.ViewModels

View File

@ -1,10 +1,4 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels
{ {
public class LoginInfoViewModels public class LoginInfoViewModels
{ {

View File

@ -1,10 +1,4 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels
{ {
public class ModuleViewModels public class ModuleViewModels
{ {

View File

@ -1,10 +1,4 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels
{ {
/// <summary> /// <summary>
/// 服务器VM /// 服务器VM

View File

@ -1,8 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels namespace Blog.Core.Model.ViewModels
{ {

View File

@ -1,7 +1,4 @@
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model.ViewModels namespace Blog.Core.Model.ViewModels
{ {

View File

@ -1,8 +1,4 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model.ViewModels
{ {
/// <summary> /// <summary>
/// 用来测试 RestSharp Post 请求 /// 用来测试 RestSharp Post 请求

View File

@ -1,10 +1,6 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Text;
namespace Blog.Core.Model.ViewModels
{ {
public class TokenInfoViewModel public class TokenInfoViewModel
{ {
public bool success { get; set; } public bool success { get; set; }
public string token { get; set; } public string token { get; set; }

View File

@ -1,10 +1,4 @@
using System; namespace Blog.Core.Model.ViewModels
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.ViewModels
{ {
/// <summary> /// <summary>
/// 留言排名展示类 /// 留言排名展示类

View File

@ -1,18 +1,14 @@
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.Common.DB; using Blog.Core.Common.DB;
using Blog.Core.Common.LogHelper;
using Blog.Core.IRepository.Base; using Blog.Core.IRepository.Base;
using Blog.Core.IRepository.UnitOfWork; using Blog.Core.IRepository.UnitOfWork;
using Blog.Core.Model; using Blog.Core.Model;
using Blog.Core.Model.Models;
using SqlSugar; using SqlSugar;
using StackExchange.Profiling;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq; using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.Repository.Base namespace Blog.Core.Repository.Base

View File

@ -5,8 +5,6 @@ using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using SqlSugar; using SqlSugar;
using Blog.Core.IRepository.UnitOfWork; using Blog.Core.IRepository.UnitOfWork;
using System.Linq.Expressions;
using System;
namespace Blog.Core.Repository namespace Blog.Core.Repository
{ {

View File

@ -1,13 +1,6 @@
using Blog.Core.Common; using Blog.Core.IRepository.UnitOfWork;
using Blog.Core.Common.DB;
using Blog.Core.Common.LogHelper;
using Blog.Core.IRepository.UnitOfWork;
using SqlSugar; using SqlSugar;
using StackExchange.Profiling;
using System; using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Repository.UnitOfWork namespace Blog.Core.Repository.UnitOfWork
{ {

View File

@ -1,10 +1,4 @@
using System; using Blog.Core.IRepository;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Blog.Core.IRepository;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Blog.Core.Services.BASE; using Blog.Core.Services.BASE;

View File

@ -6,7 +6,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.Services.BASE namespace Blog.Core.Services.BASE

View File

@ -1,7 +1,5 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoMapper; using AutoMapper;
using Blog.Core.Common; using Blog.Core.Common;

View File

@ -1,9 +1,4 @@
using System; using Blog.Core.IRepository;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Blog.Core.IRepository;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Blog.Core.Services.BASE; using Blog.Core.Services.BASE;

View File

@ -6,8 +6,6 @@ using System.Threading.Tasks;
using System.Collections.Generic; using System.Collections.Generic;
using Blog.Core.Common; using Blog.Core.Common;
using System.Linq; using System.Linq;
using System.Linq.Expressions;
using System;
namespace Blog.Core.Services namespace Blog.Core.Services
{ {

View File

@ -1,7 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.IRepository; using Blog.Core.IRepository;

View File

@ -1,7 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.IRepository; using Blog.Core.IRepository;

View File

@ -1,7 +1,6 @@
using Blog.Core.Common.Helper; using Blog.Core.Common.Helper;
using Blog.Core.IServices; using Blog.Core.IServices;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System; using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@ -1,6 +1,5 @@
using Blog.Core.Common.Helper; using Blog.Core.Common.Helper;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System; using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@ -1,5 +1,4 @@
using Blog.Core.Common.LogHelper; using Quartz;
using Quartz;
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@ -1,6 +1,5 @@
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.Controllers; using Blog.Core.Controllers;
using Blog.Core.IRepository;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Moq; using Moq;

View File

@ -1,12 +1,6 @@
using Blog.Core.Common;
using Blog.Core.Controllers; using Blog.Core.Controllers;
using Blog.Core.IRepository;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models;
using Moq;
using Xunit; using Xunit;
using System;
using Microsoft.Extensions.Logging;
using Autofac; using Autofac;
using Blog.Core.AuthHelper; using Blog.Core.AuthHelper;

View File

@ -7,7 +7,6 @@ using Blog.Core.Common;
using Blog.Core.Common.DB; using Blog.Core.Common.DB;
using Blog.Core.Common.LogHelper; using Blog.Core.Common.LogHelper;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models;
using Blog.Core.Services; using Blog.Core.Services;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using System.IO; using System.IO;
@ -16,7 +15,6 @@ using System.Reflection;
using Xunit; using Xunit;
using System; using System;
using System.Security.Claims; using System.Security.Claims;
using System.Configuration;
using Blog.Core.Common.AppConfig; using Blog.Core.Common.AppConfig;
using System.Text; using System.Text;
using Microsoft.IdentityModel.Tokens; using Microsoft.IdentityModel.Tokens;

View File

@ -1,12 +1,4 @@
using Blog.Core.Common;
using Blog.Core.Controllers;
using Blog.Core.IRepository;
using Blog.Core.IServices;
using Blog.Core.Model.Models;
using Moq;
using Xunit; using Xunit;
using System;
using Autofac;
namespace Blog.Core.Tests namespace Blog.Core.Tests
{ {

View File

@ -1,15 +1,8 @@
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Xunit; using Xunit;
using System; using System;
using Blog.Core.Repository.Base;
using Blog.Core.Repository;
using System.Linq; using System.Linq;
using Blog.Core.Common.DB;
using SqlSugar;
using Microsoft.AspNetCore.Hosting;
using Autofac; using Autofac;
using Blog.Core.Common;
using Blog.Core.IServices;
using Blog.Core.IRepository; using Blog.Core.IRepository;
namespace Blog.Core.Tests namespace Blog.Core.Tests

View File

@ -1,15 +1,8 @@
using Blog.Core.Common;
using Blog.Core.Controllers;
using Blog.Core.IRepository;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Moq;
using Xunit; using Xunit;
using System; using System;
using System.Linq; using System.Linq;
using Blog.Core.Services;
using AutoMapper;
using Blog.Core.Repository;
using Autofac; using Autofac;
namespace Blog.Core.Tests namespace Blog.Core.Tests

View File

@ -1,7 +1,6 @@
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.Common.MemoryCache; using Blog.Core.Common.MemoryCache;
using Castle.DynamicProxy; using Castle.DynamicProxy;
using System;
using System.Linq; using System.Linq;
namespace Blog.Core.AOP namespace Blog.Core.AOP

View File

@ -1,17 +1,13 @@
using Blog.Core.Common.LogHelper; using Blog.Core.Common.LogHelper;
using Blog.Core.Hubs; using Blog.Core.Hubs;
using Blog.Core.Model.Models;
using Castle.DynamicProxy; using Castle.DynamicProxy;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
using Newtonsoft.Json; using Newtonsoft.Json;
using StackExchange.Profiling; using StackExchange.Profiling;
using System; using System;
using System.Collections.Generic;
using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.AOP namespace Blog.Core.AOP

View File

@ -1,9 +1,6 @@
using Blog.Core.Common; using Blog.Core.Common;
using Blog.Core.Common.LogHelper;
using Blog.Core.IRepository.UnitOfWork; using Blog.Core.IRepository.UnitOfWork;
using Castle.DynamicProxy; using Castle.DynamicProxy;
using Microsoft.AspNetCore.SignalR;
using StackExchange.Profiling;
using System; using System;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;

View File

@ -1,10 +1,6 @@
using Blog.Core.Common; using Castle.DynamicProxy;
using Blog.Core.Common.MemoryCache;
using Castle.DynamicProxy;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using System; using System;
using System.Linq;
using System.Threading.Tasks;
namespace Blog.Core.AOP namespace Blog.Core.AOP
{ {

View File

@ -1,11 +1,7 @@
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using Blog.Core.AuthHelper.OverWrite; using Blog.Core.AuthHelper.OverWrite;
using Microsoft.AspNetCore.Builder;
namespace Blog.Core.AuthHelper namespace Blog.Core.AuthHelper
{ {

View File

@ -1,8 +1,4 @@
using Blog.Core.Model; using Blog.Core.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blog.Core.AuthHelper.Policys namespace Blog.Core.AuthHelper.Policys
{ {

View File

@ -3,9 +3,7 @@ using Blog.Core.IServices;
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@ -63,6 +63,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\.editorconfig" Link=".editorconfig" />
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" /> <None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
<None Include="wwwroot\BlogCore.Data.json\Module.tsv" /> <None Include="wwwroot\BlogCore.Data.json\Module.tsv" />
<None Include="wwwroot\BlogCore.Data.json\Permission.tsv" /> <None Include="wwwroot\BlogCore.Data.json\Permission.tsv" />

View File

@ -1,9 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Threading.Tasks; using System.Threading.Tasks;
using Blog.Core.Common;
using Blog.Core.Common.Helper; using Blog.Core.Common.Helper;
using Blog.Core.IServices; using Blog.Core.IServices;
using Blog.Core.Model; using Blog.Core.Model;

View File

@ -1,7 +1,6 @@
using Blog.Core.Common.DB; using Blog.Core.Common.DB;
using Blog.Core.Model; using Blog.Core.Model;
using Blog.Core.Model.Models; using Blog.Core.Model.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;

View File

@ -8,7 +8,6 @@ using Microsoft.Extensions.Hosting;
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Blog.Core.Controllers namespace Blog.Core.Controllers

Some files were not shown because too many files have changed in this diff Show More