mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
remove all no need using
去掉不必要的引用
This commit is contained in:
parent
a924b227d2
commit
6819c3a899
4
.editorconfig
Normal file
4
.editorconfig
Normal file
|
@ -0,0 +1,4 @@
|
|||
[*.cs]
|
||||
|
||||
# IDE0005: Using 指令是不需要的。
|
||||
dotnet_diagnostic.IDE0005.severity = warning
|
|
@ -1,6 +1,4 @@
|
|||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.DB
|
||||
namespace Blog.Core.Common.DB
|
||||
{
|
||||
public static class MainDb
|
||||
{
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Configuration.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
public static class HtmlHelper
|
||||
{
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Common
|
||||
{
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.Helper
|
||||
{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
namespace Blog.Core
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Linq;
|
||||
using System.Security.Claims;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
using RestSharp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.HttpRestSharp
|
||||
{
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using RestSharp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.HttpRestSharp
|
||||
{
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
using RestSharp;
|
||||
using RestSharp.Authenticators;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.HttpRestSharp
|
||||
{
|
||||
|
@ -101,6 +99,7 @@ namespace Blog.Core.Common.HttpRestSharp
|
|||
/// });
|
||||
/// </remarks>
|
||||
/// <returns></returns>
|
||||
[Obsolete]
|
||||
public RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse> callback)
|
||||
{
|
||||
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
||||
|
@ -126,6 +125,7 @@ namespace Blog.Core.Common.HttpRestSharp
|
|||
/// });
|
||||
/// </remarks>
|
||||
/// <returns></returns>
|
||||
[Obsolete]
|
||||
public RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>> callback) where T : new()
|
||||
{
|
||||
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using Blog.Core.Common.LogHelper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Hubs
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using Blog.Core.Common.Helper;
|
||||
using Blog.Core.Hubs;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Blog.Core.Common.LogHelper
|
||||
{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using Microsoft.Extensions.Logging;
|
||||
using Serilog;
|
||||
using Serilog;
|
||||
using Serilog.Events;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
|
|
@ -3,9 +3,7 @@ using SqlSugar;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.IRepository.Base
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IRepository.Base;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
using System;
|
||||
using Blog.Core.IRepository.Base;
|
||||
using Blog.Core.Model.Models;
|
||||
|
||||
namespace Blog.Core.FrameWork.IRepository
|
||||
{
|
||||
/// <summary>
|
||||
/// IUserRoleRepository
|
||||
/// </summary>
|
||||
public interface IUserRoleRepository : IBaseRepository<UserRole>//类名
|
||||
/// <summary>
|
||||
/// IUserRoleRepository
|
||||
/// </summary>
|
||||
public interface IUserRoleRepository : IBaseRepository<UserRole>//类名
|
||||
{
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.IServices.BASE
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
using Blog.Core.IServices.BASE;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
using Blog.Core.IServices.BASE;
|
||||
using Blog.Core.Model.Models;
|
||||
using Blog.Core.Model.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.IServices
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
using Blog.Core.IServices.BASE;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using Blog.Core.IServices.BASE;
|
||||
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
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using Blog.Core.IServices.BASE;
|
||||
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
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Common.WebApiClients.HttpApis
|
||||
namespace Blog.Core.Common.WebApiClients.HttpApis
|
||||
{
|
||||
public class Data
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using Blog.Core.Model;
|
||||
using Blog.Core.Model.Models;
|
||||
using Blog.Core.Model.ViewModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using WebApiClient;
|
||||
using WebApiClient;
|
||||
using WebApiClient.Attributes;
|
||||
|
||||
namespace Blog.Core.Common.WebApiClients.HttpApis
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
|
||||
namespace Blog.Core.Model
|
||||
namespace Blog.Core.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 这是爱
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Model
|
||||
namespace Blog.Core.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 通用返回信息类
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
||||
public class TestMuchTableResult
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Blog.Core.Model
|
||||
{
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Blog.Core.Model
|
||||
{
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.Helper;
|
||||
using Blog.Core.Model.Models;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.DB;
|
||||
using Blog.Core.Common.DB;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace Blog.Core.Model.Models
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Blog.Core.Model
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.Model.Models;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
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
|
||||
{
|
||||
public class LoginInfoViewModels
|
||||
{
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
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
|
||||
{
|
||||
public class ModuleViewModels
|
||||
{
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
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
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务器VM
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using Blog.Core.Model.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
/// <summary>
|
||||
/// 用来测试 RestSharp Post 请求
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
namespace Blog.Core.Model.ViewModels
|
||||
{
|
||||
public class TokenInfoViewModel
|
||||
public class TokenInfoViewModel
|
||||
{
|
||||
public bool success { get; set; }
|
||||
public string token { get; set; }
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
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
|
||||
{
|
||||
/// <summary>
|
||||
/// 留言排名展示类
|
||||
|
|
|
@ -1,18 +1,14 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.DB;
|
||||
using Blog.Core.Common.LogHelper;
|
||||
using Blog.Core.IRepository.Base;
|
||||
using Blog.Core.IRepository.UnitOfWork;
|
||||
using Blog.Core.Model;
|
||||
using Blog.Core.Model.Models;
|
||||
using SqlSugar;
|
||||
using StackExchange.Profiling;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Repository.Base
|
||||
|
|
|
@ -5,8 +5,6 @@ using System.Collections.Generic;
|
|||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using Blog.Core.IRepository.UnitOfWork;
|
||||
using System.Linq.Expressions;
|
||||
using System;
|
||||
|
||||
namespace Blog.Core.Repository
|
||||
{
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.DB;
|
||||
using Blog.Core.Common.LogHelper;
|
||||
using Blog.Core.IRepository.UnitOfWork;
|
||||
using Blog.Core.IRepository.UnitOfWork;
|
||||
using SqlSugar;
|
||||
using StackExchange.Profiling;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Repository.UnitOfWork
|
||||
{
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
using System;
|
||||
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.IRepository;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.Model.Models;
|
||||
using Blog.Core.Services.BASE;
|
||||
|
|
|
@ -6,7 +6,6 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Services.BASE
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using Blog.Core.Common;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.IRepository;
|
||||
using Blog.Core.IRepository;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.Model.Models;
|
||||
using Blog.Core.Services.BASE;
|
||||
|
|
|
@ -6,8 +6,6 @@ using System.Threading.Tasks;
|
|||
using System.Collections.Generic;
|
||||
using Blog.Core.Common;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System;
|
||||
|
||||
namespace Blog.Core.Services
|
||||
{
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.Common;
|
||||
using Blog.Core.IRepository;
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.Common;
|
||||
using Blog.Core.IRepository;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using Blog.Core.Common.Helper;
|
||||
using Blog.Core.IServices;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using Blog.Core.Common.Helper;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using Blog.Core.Common.LogHelper;
|
||||
using Quartz;
|
||||
using Quartz;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Controllers;
|
||||
using Blog.Core.IRepository;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.Model.Models;
|
||||
using Moq;
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
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 System;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Autofac;
|
||||
using Blog.Core.AuthHelper;
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ using Blog.Core.Common;
|
|||
using Blog.Core.Common.DB;
|
||||
using Blog.Core.Common.LogHelper;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.Model.Models;
|
||||
using Blog.Core.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System.IO;
|
||||
|
@ -16,7 +15,6 @@ using System.Reflection;
|
|||
using Xunit;
|
||||
using System;
|
||||
using System.Security.Claims;
|
||||
using System.Configuration;
|
||||
using Blog.Core.Common.AppConfig;
|
||||
using System.Text;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
|
|
|
@ -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 System;
|
||||
using Autofac;
|
||||
|
||||
namespace Blog.Core.Tests
|
||||
{
|
||||
|
|
|
@ -1,15 +1,8 @@
|
|||
using Blog.Core.Model.Models;
|
||||
using Xunit;
|
||||
using System;
|
||||
using Blog.Core.Repository.Base;
|
||||
using Blog.Core.Repository;
|
||||
using System.Linq;
|
||||
using Blog.Core.Common.DB;
|
||||
using SqlSugar;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Autofac;
|
||||
using Blog.Core.Common;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.IRepository;
|
||||
|
||||
namespace Blog.Core.Tests
|
||||
|
|
|
@ -1,15 +1,8 @@
|
|||
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 System;
|
||||
using System.Linq;
|
||||
using Blog.Core.Services;
|
||||
using AutoMapper;
|
||||
using Blog.Core.Repository;
|
||||
using Autofac;
|
||||
|
||||
namespace Blog.Core.Tests
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.MemoryCache;
|
||||
using Castle.DynamicProxy;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Blog.Core.AOP
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
using Blog.Core.Common.LogHelper;
|
||||
using Blog.Core.Hubs;
|
||||
using Blog.Core.Model.Models;
|
||||
using Castle.DynamicProxy;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using Newtonsoft.Json;
|
||||
using StackExchange.Profiling;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.AOP
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.LogHelper;
|
||||
using Blog.Core.IRepository.UnitOfWork;
|
||||
using Castle.DynamicProxy;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using StackExchange.Profiling;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.MemoryCache;
|
||||
using Castle.DynamicProxy;
|
||||
using Castle.DynamicProxy;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.AOP
|
||||
{
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
using Microsoft.AspNetCore.Http;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.AuthHelper.OverWrite;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
|
||||
namespace Blog.Core.AuthHelper
|
||||
{
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
using Blog.Core.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.AuthHelper.Policys
|
||||
{
|
||||
|
|
|
@ -3,9 +3,7 @@ using Blog.Core.IServices;
|
|||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\.editorconfig" Link=".editorconfig" />
|
||||
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
|
||||
<None Include="wwwroot\BlogCore.Data.json\Module.tsv" />
|
||||
<None Include="wwwroot\BlogCore.Data.json\Permission.tsv" />
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
using Blog.Core.Common;
|
||||
using Blog.Core.Common.Helper;
|
||||
using Blog.Core.IServices;
|
||||
using Blog.Core.Model;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using Blog.Core.Common.DB;
|
||||
using Blog.Core.Model;
|
||||
using Blog.Core.Model.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
|
|
@ -8,7 +8,6 @@ using Microsoft.Extensions.Hosting;
|
|||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Blog.Core.Controllers
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user