-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1035 from colinin/global-usings
feat(single): use GlobalUsings
- Loading branch information
Showing
4 changed files
with
204 additions
and
222 deletions.
There are no files selected for viewing
195 changes: 195 additions & 0 deletions
195
aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
global using Elsa; | ||
global using Elsa.Options; | ||
global using LINGYUN.Abp.Account; | ||
global using LINGYUN.Abp.Account.Templates; | ||
global using LINGYUN.Abp.Aliyun.Localization; | ||
global using LINGYUN.Abp.Aliyun.SettingManagement; | ||
global using LINGYUN.Abp.AspNetCore.HttpOverrides; | ||
global using LINGYUN.Abp.AspNetCore.Mvc.Idempotent.Wrapper; | ||
global using LINGYUN.Abp.AspNetCore.Mvc.Localization; | ||
global using LINGYUN.Abp.AspNetCore.Mvc.Wrapper; | ||
global using LINGYUN.Abp.Auditing; | ||
global using LINGYUN.Abp.AuditLogging.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Authentication.QQ; | ||
global using LINGYUN.Abp.Authentication.WeChat; | ||
global using LINGYUN.Abp.Authorization.OrganizationUnits; | ||
global using LINGYUN.Abp.BackgroundTasks; | ||
global using LINGYUN.Abp.BackgroundTasks.Activities; | ||
global using LINGYUN.Abp.BackgroundTasks.DistributedLocking; | ||
global using LINGYUN.Abp.BackgroundTasks.EventBus; | ||
global using LINGYUN.Abp.BackgroundTasks.ExceptionHandling; | ||
global using LINGYUN.Abp.BackgroundTasks.Jobs; | ||
global using LINGYUN.Abp.BackgroundTasks.Notifications; | ||
global using LINGYUN.Abp.BackgroundTasks.Quartz; | ||
global using LINGYUN.Abp.CachingManagement; | ||
global using LINGYUN.Abp.CachingManagement.StackExchangeRedis; | ||
global using LINGYUN.Abp.Dapr.Client; | ||
global using LINGYUN.Abp.Data.DbMigrator; | ||
global using LINGYUN.Abp.DataProtectionManagement; | ||
global using LINGYUN.Abp.DataProtectionManagement.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Demo; | ||
global using LINGYUN.Abp.Demo.Books; | ||
global using LINGYUN.Abp.Demo.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Demo.Localization; | ||
global using LINGYUN.Abp.Elsa; | ||
global using LINGYUN.Abp.Elsa.Activities; | ||
global using LINGYUN.Abp.Elsa.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Elsa.EntityFrameworkCore.MySql; | ||
global using LINGYUN.Abp.ExceptionHandling; | ||
global using LINGYUN.Abp.ExceptionHandling.Emailing; | ||
global using LINGYUN.Abp.Exporter.MiniExcel; | ||
global using LINGYUN.Abp.FeatureManagement; | ||
global using LINGYUN.Abp.FeatureManagement.HttpApi; | ||
global using LINGYUN.Abp.Features.LimitValidation; | ||
global using LINGYUN.Abp.Features.LimitValidation.Redis.Client; | ||
global using LINGYUN.Abp.Http.Client.Wrapper; | ||
global using LINGYUN.Abp.Idempotent; | ||
global using LINGYUN.Abp.Identity; | ||
global using LINGYUN.Abp.Identity.AspNetCore.Session; | ||
global using LINGYUN.Abp.Identity.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Identity.Notifications; | ||
global using LINGYUN.Abp.Identity.OrganizaztionUnits; | ||
global using LINGYUN.Abp.Identity.Session; | ||
global using LINGYUN.Abp.Identity.Session.AspNetCore; | ||
global using LINGYUN.Abp.Identity.WeChat; | ||
global using LINGYUN.Abp.IdentityServer.IdentityResources; | ||
global using LINGYUN.Abp.IdGenerator; | ||
global using LINGYUN.Abp.IM.SignalR; | ||
global using LINGYUN.Abp.Localization.CultureMap; | ||
global using LINGYUN.Abp.Localization.Persistence; | ||
global using LINGYUN.Abp.LocalizationManagement; | ||
global using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; | ||
global using LINGYUN.Abp.MessageService; | ||
global using LINGYUN.Abp.MessageService.EntityFrameworkCore; | ||
global using LINGYUN.Abp.MultiTenancy.Editions; | ||
global using LINGYUN.Abp.Notifications; | ||
global using LINGYUN.Abp.Notifications.Common; | ||
global using LINGYUN.Abp.Notifications.Emailing; | ||
global using LINGYUN.Abp.Notifications.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Notifications.SignalR; | ||
global using LINGYUN.Abp.Notifications.WeChat.MiniProgram; | ||
global using LINGYUN.Abp.OpenApi.Authorization; | ||
global using LINGYUN.Abp.OpenIddict; | ||
global using LINGYUN.Abp.OpenIddict.AspNetCore; | ||
global using LINGYUN.Abp.OpenIddict.AspNetCore.Session; | ||
global using LINGYUN.Abp.OpenIddict.LinkUser; | ||
global using LINGYUN.Abp.OpenIddict.Permissions; | ||
global using LINGYUN.Abp.OpenIddict.Portal; | ||
global using LINGYUN.Abp.OpenIddict.Sms; | ||
global using LINGYUN.Abp.OpenIddict.WeChat; | ||
global using LINGYUN.Abp.OpenIddict.WeChat.Work; | ||
global using LINGYUN.Abp.OssManagement; | ||
global using LINGYUN.Abp.OssManagement.FileSystem; | ||
global using LINGYUN.Abp.OssManagement.Imaging; | ||
global using LINGYUN.Abp.OssManagement.SettingManagement; | ||
global using LINGYUN.Abp.PermissionManagement; | ||
global using LINGYUN.Abp.PermissionManagement.HttpApi; | ||
global using LINGYUN.Abp.PermissionManagement.OrganizationUnits; | ||
global using LINGYUN.Abp.Saas; | ||
global using LINGYUN.Abp.Saas.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Serilog.Enrichers.Application; | ||
global using LINGYUN.Abp.Serilog.Enrichers.UniqueId; | ||
global using LINGYUN.Abp.SettingManagement; | ||
global using LINGYUN.Abp.Sms.Aliyun; | ||
global using LINGYUN.Abp.TaskManagement; | ||
global using LINGYUN.Abp.TaskManagement.EntityFrameworkCore; | ||
global using LINGYUN.Abp.Tencent.Localization; | ||
global using LINGYUN.Abp.Tencent.QQ; | ||
global using LINGYUN.Abp.Tencent.SettingManagement; | ||
global using LINGYUN.Abp.TextTemplating; | ||
global using LINGYUN.Abp.TextTemplating.EntityFrameworkCore; | ||
global using LINGYUN.Abp.UI.Navigation; | ||
global using LINGYUN.Abp.UI.Navigation.VueVbenAdmin; | ||
global using LINGYUN.Abp.Webhooks; | ||
global using LINGYUN.Abp.Webhooks.EventBus; | ||
global using LINGYUN.Abp.Webhooks.Identity; | ||
global using LINGYUN.Abp.Webhooks.Saas; | ||
global using LINGYUN.Abp.WebhooksManagement; | ||
global using LINGYUN.Abp.WebhooksManagement.EntityFrameworkCore; | ||
global using LINGYUN.Abp.WeChat.Common.Messages.Handlers; | ||
global using LINGYUN.Abp.WeChat.Localization; | ||
global using LINGYUN.Abp.WeChat.MiniProgram; | ||
global using LINGYUN.Abp.WeChat.Official; | ||
global using LINGYUN.Abp.WeChat.Official.Handlers; | ||
global using LINGYUN.Abp.WeChat.SettingManagement; | ||
global using LINGYUN.Abp.WeChat.Work; | ||
global using LINGYUN.Abp.WeChat.Work.Handlers; | ||
global using LINGYUN.Abp.Wrapper; | ||
global using LINGYUN.Platform; | ||
global using LINGYUN.Platform.EntityFrameworkCore; | ||
global using LINGYUN.Platform.HttpApi; | ||
global using LINGYUN.Platform.Localization; | ||
global using LINGYUN.Platform.Settings.VueVbenAdmin; | ||
global using LINGYUN.Platform.Theme.VueVbenAdmin; | ||
global using LY.MicroService.Applications.Single.Authentication; | ||
global using LY.MicroService.Applications.Single.EntityFrameworkCore; | ||
global using LY.MicroService.Applications.Single.IdentityResources; | ||
global using Medallion.Threading; | ||
global using Medallion.Threading.Redis; | ||
global using Microsoft.AspNetCore.Authentication.Cookies; | ||
global using Microsoft.AspNetCore.Authentication.JwtBearer; | ||
global using Microsoft.AspNetCore.Cors; | ||
global using Microsoft.AspNetCore.DataProtection; | ||
global using Microsoft.AspNetCore.Identity; | ||
global using Microsoft.AspNetCore.Server.Kestrel.Core; | ||
global using Microsoft.Extensions.Caching.StackExchangeRedis; | ||
global using Microsoft.IdentityModel.Logging; | ||
global using Microsoft.OpenApi.Models; | ||
global using MiniExcelLibs.Attributes; | ||
global using OpenIddict.Server; | ||
global using OpenIddict.Server.AspNetCore; | ||
global using Quartz; | ||
global using StackExchange.Redis; | ||
global using System.Security.Cryptography; | ||
global using System.Security.Cryptography.X509Certificates; | ||
global using System.Text.Encodings.Web; | ||
global using System.Text.Unicode; | ||
global using Volo.Abp; | ||
global using Volo.Abp.Account.Web; | ||
global using Volo.Abp.AspNetCore.Authentication.JwtBearer; | ||
global using Volo.Abp.AspNetCore.Mvc; | ||
global using Volo.Abp.AspNetCore.Mvc.AntiForgery; | ||
global using Volo.Abp.AspNetCore.Mvc.UI.Bundling; | ||
global using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy; | ||
global using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic; | ||
global using Volo.Abp.AspNetCore.Serilog; | ||
global using Volo.Abp.Auditing; | ||
global using Volo.Abp.Authorization.Permissions; | ||
global using Volo.Abp.Autofac; | ||
global using Volo.Abp.BlobStoring; | ||
global using Volo.Abp.BlobStoring.FileSystem; | ||
global using Volo.Abp.Caching; | ||
global using Volo.Abp.Caching.StackExchangeRedis; | ||
global using Volo.Abp.Data; | ||
global using Volo.Abp.EntityFrameworkCore; | ||
global using Volo.Abp.EntityFrameworkCore.MySQL; | ||
global using Volo.Abp.EventBus; | ||
global using Volo.Abp.FeatureManagement; | ||
global using Volo.Abp.FeatureManagement.EntityFrameworkCore; | ||
global using Volo.Abp.Features; | ||
global using Volo.Abp.GlobalFeatures; | ||
global using Volo.Abp.Http.Client; | ||
global using Volo.Abp.Identity.Localization; | ||
global using Volo.Abp.IdentityServer; | ||
global using Volo.Abp.IdentityServer.Localization; | ||
global using Volo.Abp.Imaging; | ||
global using Volo.Abp.Json; | ||
global using Volo.Abp.Json.SystemTextJson; | ||
global using Volo.Abp.Localization; | ||
global using Volo.Abp.Modularity; | ||
global using Volo.Abp.MultiTenancy; | ||
global using Volo.Abp.OpenIddict; | ||
global using Volo.Abp.OpenIddict.EntityFrameworkCore; | ||
global using Volo.Abp.OpenIddict.Localization; | ||
global using Volo.Abp.PermissionManagement; | ||
global using Volo.Abp.PermissionManagement.EntityFrameworkCore; | ||
global using Volo.Abp.PermissionManagement.Identity; | ||
global using Volo.Abp.PermissionManagement.OpenIddict; | ||
global using Volo.Abp.Quartz; | ||
global using Volo.Abp.Security.Claims; | ||
global using Volo.Abp.SettingManagement; | ||
global using Volo.Abp.SettingManagement.EntityFrameworkCore; | ||
global using Volo.Abp.SettingManagement.Localization; | ||
global using Volo.Abp.Threading; | ||
global using Volo.Abp.UI.Navigation.Urls; | ||
global using Volo.Abp.VirtualFileSystem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 1 addition & 87 deletions
88
...ces/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.