Browse Source

👕 使用GlobalUsing #56

IdentityServer4
WangJunZzz 4 years ago
parent
commit
c13dab5d0b
  1. 12
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapConsumerServiceSelector.cs
  2. 16
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapDistributedEventBus.cs
  3. 3
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapModule.cs
  4. 7
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapServiceCollectionExtensions.cs
  5. 19
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/GlobalUsings.cs
  6. 6
      aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/Lion.AbpPro.CAP.csproj
  7. 3
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/CustomeListResultDto.cs
  8. 3
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/CustomePagedResultDto.cs
  9. 2
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/IdInput.cs
  10. 3
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/PagingBase.cs
  11. 6
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Guard.cs
  12. 8
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Http/HttpClientHelper.cs
  13. 24
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/GlobalUsings.cs
  14. 18
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Lion.AbpPro.Extension.csproj
  15. 2
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/BooleanExtensions.cs
  16. 5
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Collections/Generic/CollectionExtensions.cs
  17. 6
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Collections/Generic/EnumerableExtensions.cs
  18. 4
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/DateTimeExtensions.cs
  19. 8
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/EnumExtensions.cs
  20. 4
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/ExceptionExtensions.cs
  21. 5
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Linq/QueryableExtensions.cs
  22. 4
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/AssemblyExtensions.cs
  23. 6
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/MemberInfoExtensions.cs
  24. 3
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/MethodInfoExtensions.cs
  25. 3
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/PropertyInfoExtensions.cs
  26. 12
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/StringExtensions.cs
  27. 4
      aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Text/StringBuilderExtensions.cs
  28. 21
      aspnet-core/gateways/Lion.AbpPro.WebGateway/GlobalUsings.cs
  29. 9
      aspnet-core/gateways/Lion.AbpPro.WebGateway/Program.cs
  30. 14
      aspnet-core/gateways/Lion.AbpPro.WebGateway/Startup.cs
  31. 13
      aspnet-core/gateways/Lion.AbpPro.WebGateway/WebGatewayModule.cs
  32. 3
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Controllers/HomeController.cs
  33. 29
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/DataDictionaryManagementHttpApiHostModule.cs
  34. 3
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/EntityFrameworkCore/DataDictionaryManagementHttpApiHostMigrationsDbContext.cs
  35. 5
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/EntityFrameworkCore/DataDictionaryManagementHttpApiHostMigrationsDbContextFactory.cs
  36. 39
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/GlobalUsings.cs
  37. 40
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host.csproj
  38. 7
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Program.cs
  39. 6
      aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Startup.cs
  40. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/CreateDataDictinaryDetailInput.cs
  41. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/CreateDataDictinaryInput.cs
  42. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/DeleteDataDictionaryDetailInput.cs
  43. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryDetailInput.cs
  44. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryDetailOutput.cs
  45. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryInput.cs
  46. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryOutput.cs
  47. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/SetDataDictinaryDetailInput.cs
  48. 9
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/UpdateDataDictinaryInput.cs
  49. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/UpdateDetailInput.cs
  50. 7
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/IDataDictionaryAppService.cs
  51. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaryManagementApplicationContractsModule.cs
  52. 20
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/GlobalUsings.cs
  53. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj
  54. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Permissions/DataDictionaryManagementPermissionDefinitionProvider.cs
  55. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Permissions/DataDictionaryManagementPermissions.cs
  56. 13
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaries/DataDictionaryAppService.cs
  57. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementAppService.cs
  58. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementApplicationAutoMapperProfile.cs
  59. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementApplicationModule.cs
  60. 21
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/GlobalUsings.cs
  61. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/Lion.AbpPro.DataDictionaryManagement.Application.csproj
  62. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/DataDictionaryDomainException.cs
  63. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/Dto/DataDictionaryDetailDto.cs
  64. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/Dto/DataDictionaryDto.cs
  65. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaryManagementConsts.cs
  66. 8
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaryManagementDomainSharedModule.cs
  67. 14
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/GlobalUsings.cs
  68. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj
  69. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/Localization/DataDictionaryManagementResource.cs
  70. 8
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionary.cs
  71. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs
  72. 8
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Caches/DataDictionaryCacheItemInvalidator.cs
  73. 8
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/DataDictionaryDataSeedContributor.cs
  74. 9
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/DataDictionaryManager.cs
  75. 7
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/IDataDictionaryRepository.cs
  76. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryDomainAutoMapperProfile.cs
  77. 7
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryDomainService.cs
  78. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryManagementDomainModule.cs
  79. 31
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/GlobalUsings.cs
  80. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/Lion.AbpPro.DataDictionaryManagement.Domain.csproj
  81. 2
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/Settings/DataDictionaryManagementSettingDefinitionProvider.cs
  82. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaries/DataDictionaryEfCoreQueryableExtensions.cs
  83. 11
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaries/EfCoreDataDictionaryRepository.cs
  84. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementDbContext.cs
  85. 6
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementDbContextModelCreatingExtensions.cs
  86. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementEntityFrameworkCoreModule.cs
  87. 3
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementModelBuilderConfigurationOptions.cs
  88. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/IDataDictionaryManagementDbContext.cs
  89. 18
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/GlobalUsings.cs
  90. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj
  91. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/DataDictionaryManagementHttpApiClientModule.cs
  92. 5
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/GlobalUsings.cs
  93. 4
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client.csproj
  94. 7
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/DataDictionaries/DataDictionaryController.cs
  95. 8
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/GlobalUsings.cs
  96. 6
      aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj
  97. 6
      aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/DataDictionaries/DataDictionaryAppService_Tests.cs
  98. 2
      aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/DataDictionaryManagementApplicationTestModule.cs
  99. 8
      aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/GlobalUsings.cs
  100. 4
      aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/Lion.AbpPro.DataDictionaryManagement.Application.Tests.csproj

12
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapConsumerServiceSelector.cs

@ -1,15 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DotNetCore.CAP;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus;
using Volo.Abp.EventBus.Distributed;
namespace Lion.AbpPro.CAP
{
[Dependency(ServiceLifetime.Singleton, ReplaceServices = true)]

16
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapDistributedEventBus.cs

@ -1,19 +1,3 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Threading;
using Volo.Abp.Uow;
namespace Lion.AbpPro.CAP
{
public class AbpProAbpCapDistributedEventBus :

3
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapModule.cs

@ -1,6 +1,3 @@
using Volo.Abp.EventBus;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.CAP
{
[DependsOn(typeof(AbpEventBusModule))]

7
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/AbpProAbpCapServiceCollectionExtensions.cs

@ -1,10 +1,3 @@
using System;
using DotNetCore.CAP;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.CAP
{
public static class AbpProAbpCapServiceCollectionExtensions

19
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/GlobalUsings.cs

@ -0,0 +1,19 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Reflection;
global using DotNetCore.CAP;
global using DotNetCore.CAP.Internal;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Options;
global using Volo.Abp.DependencyInjection;
global using Volo.Abp.EventBus;
global using Volo.Abp.EventBus.Distributed;
global using System.Collections.Concurrent;
global using Volo.Abp;
global using Volo.Abp.MultiTenancy;
global using Volo.Abp.Threading;
global using Volo.Abp.Uow;
global using Volo.Abp.Modularity;

6
aspnet-core/frameworks/CAP/src/Lion.AbpPro.CAP/Lion.AbpPro.CAP.csproj

@ -4,9 +4,9 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Core"/>
<PackageReference Include="Volo.Abp.EventBus"/>
<PackageReference Include="DotNetCore.CAP"/>
<PackageReference Include="Volo.Abp.Core" />
<PackageReference Include="Volo.Abp.EventBus" />
<PackageReference Include="DotNetCore.CAP" />
</ItemGroup>
</Project>

3
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/CustomeListResultDto.cs

@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
namespace Lion.AbpPro.Extension.Customs.Dtos
{
[Serializable]

3
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/CustomePagedResultDto.cs

@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
namespace Lion.AbpPro.Extension.Customs.Dtos
{
[Serializable]

2
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/IdInput.cs

@ -1,5 +1,3 @@
using System;
namespace Lion.AbpPro.Extension.Customs.Dtos
{
public class IdInput

3
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Dtos/PagingBase.cs

@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Lion.AbpPro.Extension.Customs.Dtos
{

6
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Guard.cs

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Lion.AbpPro.Extension.Customs
{
/// <summary>

8
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Customs/Http/HttpClientHelper.cs

@ -1,11 +1,3 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Lion.AbpPro.Extension.Customs.Http
{
/// <summary>

24
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/GlobalUsings.cs

@ -0,0 +1,24 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.Collections.Specialized;
global using System.ComponentModel;
global using System.ComponentModel.DataAnnotations;
global using System.Diagnostics;
global using System.Globalization;
global using System.IO;
global using System.Linq;
global using System.Linq.Expressions;
global using System.Net.Http;
global using System.Net.Http.Headers;
global using System.Reflection;
global using System.Runtime.ExceptionServices;
global using System.Text;
global using System.Text.RegularExpressions;
global using System.Threading.Tasks;
global using System.Web;
global using Lion.AbpPro.Extension.Customs;
global using Lion.AbpPro.Extension.System.Collections.Generic;
global using Lion.AbpPro.Extension.System.Reflection;
global using Newtonsoft.Json;

18
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/Lion.AbpPro.Extension.csproj

@ -4,16 +4,16 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="Microsoft.Extensions.Http"/>
<PackageReference Include="Newtonsoft.Json"/>
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="Microsoft.Extensions.Http" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="System.ComponentModel.Annotations" />
<PackageReference Include="Volo.Abp.Autofac" />
<PackageReference Include="Volo.Abp.Json" />
<PackageReference Include="Volo.Abp.Validation" />
<PackageReference Include="Volo.Abp.Ddd.Domain" />
<PackageReference Include="Volo.Abp.AutoMapper" />
<PackageReference Include="Volo.Abp.ObjectMapping" />
<PackageReference Include="Volo.Abp.Autofac" />
<PackageReference Include="Volo.Abp.Json" />
<PackageReference Include="Volo.Abp.Validation" />
<PackageReference Include="Volo.Abp.Ddd.Domain" />
<PackageReference Include="Volo.Abp.AutoMapper" />
<PackageReference Include="Volo.Abp.ObjectMapping" />
</ItemGroup>
</Project>

2
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/BooleanExtensions.cs

@ -1,5 +1,3 @@
using System;
namespace Lion.AbpPro.Extension.System
{
/// <summary>

5
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Collections/Generic/CollectionExtensions.cs

@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Lion.AbpPro.Extension.Customs;
namespace Lion.AbpPro.Extension.System.Collections.Generic
{
/// <summary>

6
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Collections/Generic/EnumerableExtensions.cs

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lion.AbpPro.Extension.Customs;
namespace Lion.AbpPro.Extension.System.Collections.Generic
{
/// <summary>

4
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/DateTimeExtensions.cs

@ -1,7 +1,3 @@
using System;
using System.Globalization;
using System.Linq;
namespace Lion.AbpPro.Extension.System
{
/// <summary>

8
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/EnumExtensions.cs

@ -1,11 +1,3 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Lion.AbpPro.Extension.System.Reflection;
namespace Lion.AbpPro.Extension.System
{
/// <summary>

4
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/ExceptionExtensions.cs

@ -1,7 +1,3 @@
using System;
using System.Runtime.ExceptionServices;
using System.Text;
namespace Lion.AbpPro.Extension.System
{
/// <summary>

5
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Linq/QueryableExtensions.cs

@ -1,8 +1,3 @@
using System;
using System.Linq;
using System.Linq.Expressions;
using Lion.AbpPro.Extension.Customs;
namespace Lion.AbpPro.Extension.System.Linq
{
/// <summary>

4
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/AssemblyExtensions.cs

@ -1,7 +1,3 @@
using System.Diagnostics;
using System.Reflection;
using Lion.AbpPro.Extension.Customs;
namespace Lion.AbpPro.Extension.System.Reflection
{
/// <summary>

6
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/MemberInfoExtensions.cs

@ -1,9 +1,3 @@
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
namespace Lion.AbpPro.Extension.System.Reflection
{
/// <summary>

3
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/MethodInfoExtensions.cs

@ -1,6 +1,3 @@
using System.Reflection;
using System.Threading.Tasks;
namespace Lion.AbpPro.Extension.System.Reflection
{
/// <summary>

3
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Reflection/PropertyInfoExtensions.cs

@ -1,6 +1,3 @@
using System.Linq;
using System.Reflection;
namespace Lion.AbpPro.Extension.System.Reflection
{
/// <summary>

12
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/StringExtensions.cs

@ -1,15 +1,3 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using Lion.AbpPro.Extension.Customs;
using Lion.AbpPro.Extension.System.Collections.Generic;
using Newtonsoft.Json;
namespace Lion.AbpPro.Extension.System
{
/// <summary>

4
aspnet-core/frameworks/Extensions/src/Lion.AbpPro.Extension/System/Text/StringBuilderExtensions.cs

@ -1,7 +1,3 @@
using System;
using System.Text;
using Lion.AbpPro.Extension.Customs;
namespace Lion.AbpPro.Extension.System.Text
{
/// <summary>

21
aspnet-core/gateways/Lion.AbpPro.WebGateway/GlobalUsings.cs

@ -0,0 +1,21 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading.Tasks;
global using Lion.AbpPro.Shared.Hosting.Gateways;
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.Cors;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.HttpsPolicy;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Hosting;
global using Microsoft.Extensions.Logging;
global using Microsoft.OpenApi.Models;
global using Ocelot.Middleware;
global using Swashbuckle.AspNetCore.SwaggerUI;
global using Volo.Abp;
global using Volo.Abp.Modularity;

9
aspnet-core/gateways/Lion.AbpPro.WebGateway/Program.cs

@ -1,12 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Lion.AbpPro.WebGateway
{
public class Program

14
aspnet-core/gateways/Lion.AbpPro.WebGateway/Startup.cs

@ -1,17 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
namespace Lion.AbpPro.WebGateway
{
public class Startup

13
aspnet-core/gateways/Lion.AbpPro.WebGateway/WebGatewayModule.cs

@ -1,16 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Lion.AbpPro.Shared.Hosting.Gateways;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Cors;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using Ocelot.Middleware;
using Swashbuckle.AspNetCore.SwaggerUI;
using Volo.Abp;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.WebGateway
{
[DependsOn(

3
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Controllers/HomeController.cs

@ -1,6 +1,3 @@
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
namespace Lion.AbpPro.DataDictionaryManagement.Controllers
{
public class HomeController : AbpController

29
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/DataDictionaryManagementHttpApiHostModule.cs

@ -1,32 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore;
using StackExchange.Redis;
using Microsoft.OpenApi.Models;
using Volo.Abp;
using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared;
using Volo.Abp.AspNetCore.Serilog;
using Volo.Abp.AuditLogging.EntityFrameworkCore;
using Volo.Abp.Autofac;
using Volo.Abp.Caching;
using Volo.Abp.Caching.StackExchangeRedis;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore.MySQL;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.Swashbuckle;
using Volo.Abp.VirtualFileSystem;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

3
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/EntityFrameworkCore/DataDictionaryManagementHttpApiHostMigrationsDbContext.cs

@ -1,6 +1,3 @@
using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
public class DataDictionaryManagementHttpApiHostMigrationsDbContext : AbpDbContext<DataDictionaryManagementHttpApiHostMigrationsDbContext>

5
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/EntityFrameworkCore/DataDictionaryManagementHttpApiHostMigrationsDbContextFactory.cs

@ -1,8 +1,3 @@
using System.IO;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
public class DataDictionaryManagementHttpApiHostMigrationsDbContextFactory : IDesignTimeDbContextFactory<DataDictionaryManagementHttpApiHostMigrationsDbContext>

39
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/GlobalUsings.cs

@ -0,0 +1,39 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.IO;
global using System.Linq;
global using Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore;
global using Microsoft.AspNetCore.Authentication.JwtBearer;
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.Cors;
global using Microsoft.AspNetCore.DataProtection;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.EntityFrameworkCore.Design;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Hosting;
global using Microsoft.OpenApi.Models;
global using Serilog;
global using Serilog.Events;
global using StackExchange.Redis;
global using Volo.Abp;
global using Volo.Abp.AspNetCore.Mvc;
global using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy;
global using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared;
global using Volo.Abp.AspNetCore.Serilog;
global using Volo.Abp.AuditLogging.EntityFrameworkCore;
global using Volo.Abp.Autofac;
global using Volo.Abp.Caching;
global using Volo.Abp.Caching.StackExchangeRedis;
global using Volo.Abp.EntityFrameworkCore;
global using Volo.Abp.EntityFrameworkCore.MySQL;
global using Volo.Abp.Localization;
global using Volo.Abp.Modularity;
global using Volo.Abp.PermissionManagement.EntityFrameworkCore;
global using Volo.Abp.SettingManagement.EntityFrameworkCore;
global using Volo.Abp.Swashbuckle;
global using Volo.Abp.VirtualFileSystem;

40
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host.csproj

@ -9,32 +9,32 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Serilog.AspNetCore"/>
<PackageReference Include="Serilog.Sinks.Async"/>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer"/>
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis"/>
<PackageReference Include="Volo.Abp.Autofac"/>
<PackageReference Include="Volo.Abp.Caching.StackExchangeRedis"/>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy"/>
<PackageReference Include="Volo.Abp.EntityFrameworkCore.MySQL"/>
<PackageReference Include="Volo.Abp.AspNetCore.Serilog"/>
<PackageReference Include="Volo.Abp.Swashbuckle"/>
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore"/>
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore"/>
<PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore"/>
<PackageReference Include="Serilog.AspNetCore" />
<PackageReference Include="Serilog.Sinks.Async" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" />
<PackageReference Include="Volo.Abp.Autofac" />
<PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.MySQL" />
<PackageReference Include="Volo.Abp.AspNetCore.Serilog" />
<PackageReference Include="Volo.Abp.Swashbuckle" />
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" />
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" />
<PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.HttpApi\Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj"/>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.Application\Lion.AbpPro.DataDictionaryManagement.Application.csproj"/>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj"/>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.HttpApi\Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj" />
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.Application\Lion.AbpPro.DataDictionaryManagement.Application.csproj" />
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Logs\**"/>
<Content Remove="Logs\**"/>
<EmbeddedResource Remove="Logs\**"/>
<None Remove="Logs\**"/>
<Compile Remove="Logs\**" />
<Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**" />
</ItemGroup>
</Project>

7
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Program.cs

@ -1,10 +1,3 @@
using System;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
namespace Lion.AbpPro.DataDictionaryManagement
{
public class Program

6
aspnet-core/modules/DataDictionaryManagement/host/Lion.AbpPro.DataDictionaryManagement.HttpApi.Host/Startup.cs

@ -1,9 +1,3 @@
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Lion.AbpPro.DataDictionaryManagement
{
public class Startup

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/CreateDataDictinaryDetailInput.cs

@ -1,6 +1,3 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class CreateDataDictinaryDetailInput

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/CreateDataDictinaryInput.cs

@ -1,5 +1,3 @@
using System.ComponentModel.DataAnnotations;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class CreateDataDictinaryInput

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/DeleteDataDictionaryDetailInput.cs

@ -1,6 +1,4 @@
using System;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class DeleteDataDictionaryDetailInput
{

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryDetailInput.cs

@ -1,7 +1,3 @@
using System;
using Lion.AbpPro.Extension.Customs.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class PagingDataDictionaryDetailInput : PagingBase

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryDetailOutput.cs

@ -1,6 +1,3 @@
using System;
using Volo.Abp.Application.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class PagingDataDictionaryDetailOutput : EntityDto<Guid>

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryInput.cs

@ -1,5 +1,3 @@
using Lion.AbpPro.Extension.Customs.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class PagingDataDictionaryInput : PagingBase

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/PagingDataDictionaryOutput.cs

@ -1,6 +1,3 @@
using System;
using Volo.Abp.Application.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class PagingDataDictionaryOutput : EntityDto<Guid>

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/SetDataDictinaryDetailInput.cs

@ -1,6 +1,3 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class SetDataDictinaryDetailInput

9
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/UpdateDataDictinaryInput.cs

@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class UpdateDataDictinaryInput
{

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/Dtos/UpdateDetailInput.cs

@ -1,7 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos
{
public class UpdateDetailInput
{

7
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaries/IDataDictionaryAppService.cs

@ -1,10 +1,3 @@
using System.Threading;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
using Lion.AbpPro.Extension.Customs.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public interface IDataDictionaryAppService : IApplicationService

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/DataDictionaryManagementApplicationContractsModule.cs

@ -1,7 +1,3 @@
using Volo.Abp.Application;
using Volo.Abp.Modularity;
using Volo.Abp.Authorization;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

20
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/GlobalUsings.cs

@ -0,0 +1,20 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.Linq;
global using System.Text;
global using System.Threading;
global using System.Threading.Tasks;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
global using Lion.AbpPro.DataDictionaryManagement.Localization;
global using Lion.AbpPro.Extension.Customs.Dtos;
global using Volo.Abp.Application;
global using Volo.Abp.Application.Dtos;
global using Volo.Abp.Application.Services;
global using Volo.Abp.Authorization;
global using Volo.Abp.Authorization.Permissions;
global using Volo.Abp.Localization;
global using Volo.Abp.Modularity;
global using Volo.Abp.Reflection;

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj

@ -6,8 +6,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Ddd.Application.Contracts" />
<PackageReference Include="Volo.Abp.Authorization" />
<PackageReference Include="Volo.Abp.Ddd.Application.Contracts" />
<PackageReference Include="Volo.Abp.Authorization" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain.Shared\Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj" />
</ItemGroup>

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Permissions/DataDictionaryManagementPermissionDefinitionProvider.cs

@ -1,7 +1,3 @@
using Lion.AbpPro.DataDictionaryManagement.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;
namespace Lion.AbpPro.DataDictionaryManagement.Permissions
{
public class DataDictionaryManagementPermissionDefinitionProvider : PermissionDefinitionProvider

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application.Contracts/Permissions/DataDictionaryManagementPermissions.cs

@ -1,5 +1,3 @@
using Volo.Abp.Reflection;
namespace Lion.AbpPro.DataDictionaryManagement.Permissions
{
public class DataDictionaryManagementPermissions

13
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaries/DataDictionaryAppService.cs

@ -1,16 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
using Lion.AbpPro.DataDictionaryManagement.Permissions;
using Lion.AbpPro.Extension.Customs.Dtos;
using Lion.AbpPro.Extension.System;
using Microsoft.AspNetCore.Authorization;
using Volo.Abp.Application.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
[Authorize(DataDictionaryManagementPermissions.DataDictionaryManagement.Default)]

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementAppService.cs

@ -1,6 +1,3 @@
using Lion.AbpPro.DataDictionaryManagement.Localization;
using Volo.Abp.Application.Services;
namespace Lion.AbpPro.DataDictionaryManagement
{
public abstract class DataDictionaryManagementAppService : ApplicationService

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementApplicationAutoMapperProfile.cs

@ -1,8 +1,3 @@
using AutoMapper;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement
{
public class DataDictionaryManagementApplicationAutoMapperProfile : Profile

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/DataDictionaryManagementApplicationModule.cs

@ -1,8 +1,3 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.Application;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

21
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/GlobalUsings.cs

@ -0,0 +1,21 @@
// Global using directives
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;
global using AutoMapper;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
global using Lion.AbpPro.DataDictionaryManagement.Localization;
global using Lion.AbpPro.DataDictionaryManagement.Permissions;
global using Lion.AbpPro.Extension.Customs.Dtos;
global using Lion.AbpPro.Extension.System;
global using Microsoft.AspNetCore.Authorization;
global using Microsoft.Extensions.DependencyInjection;
global using Volo.Abp.Application;
global using Volo.Abp.Application.Dtos;
global using Volo.Abp.Application.Services;
global using Volo.Abp.AutoMapper;
global using Volo.Abp.Modularity;

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Application/Lion.AbpPro.DataDictionaryManagement.Application.csproj

@ -6,8 +6,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.AutoMapper" />
<PackageReference Include="Volo.Abp.Ddd.Application" />
<PackageReference Include="Volo.Abp.AutoMapper" />
<PackageReference Include="Volo.Abp.Ddd.Application" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain\Lion.AbpPro.DataDictionaryManagement.Domain.csproj" />
</ItemGroup>

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/DataDictionaryDomainException.cs

@ -1,8 +1,3 @@
using System;
using System.Runtime.Serialization;
using Microsoft.Extensions.Logging;
using Volo.Abp;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public class DataDictionaryDomainException : BusinessException

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/Dto/DataDictionaryDetailDto.cs

@ -1,5 +1,3 @@
using System;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto
{
public class DataDictionaryDetailDto

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaries/Dto/DataDictionaryDto.cs

@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto
{
public class DataDictionaryDto

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaryManagementConsts.cs

@ -1,5 +1,3 @@
using System;
namespace Lion.AbpPro.DataDictionaryManagement
{
public class DataDictionaryManagementConsts

8
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/DataDictionaryManagementDomainSharedModule.cs

@ -1,11 +1,3 @@
using Volo.Abp.Modularity;
using Volo.Abp.Localization;
using Lion.AbpPro.DataDictionaryManagement.Localization;
using Volo.Abp.Localization.ExceptionHandling;
using Volo.Abp.Validation;
using Volo.Abp.Validation.Localization;
using Volo.Abp.VirtualFileSystem;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

14
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/GlobalUsings.cs

@ -0,0 +1,14 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.Runtime.Serialization;
global using Lion.AbpPro.DataDictionaryManagement.Localization;
global using Microsoft.Extensions.Logging;
global using Volo.Abp;
global using Volo.Abp.Localization;
global using Volo.Abp.Localization.ExceptionHandling;
global using Volo.Abp.Modularity;
global using Volo.Abp.Validation;
global using Volo.Abp.Validation.Localization;
global using Volo.Abp.VirtualFileSystem;

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Validation" />
<PackageReference Include="Volo.Abp.Validation" />
</ItemGroup>
<ItemGroup>

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain.Shared/Localization/DataDictionaryManagementResource.cs

@ -1,5 +1,3 @@
using Volo.Abp.Localization;
namespace Lion.AbpPro.DataDictionaryManagement.Localization
{
[LocalizationResourceName("DataDictionaryManagement")]

8
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionary.cs

@ -1,11 +1,3 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Lion.AbpPro.Extension.Customs;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates
{
/// <summary>

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Aggregates/DataDictionaryDetail.cs

@ -1,7 +1,3 @@
using System;
using Lion.AbpPro.Extension.Customs;
using Volo.Abp.Domain.Entities.Auditing;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates
{
public class DataDictionaryDetail : AuditedEntity<Guid>

8
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/Caches/DataDictionaryCacheItemInvalidator.cs

@ -1,11 +1,3 @@
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
using Volo.Abp.Caching;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Entities.Events;
using Volo.Abp.EventBus;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Caches
{
public class DataDictionaryCacheItemInvalidator :

8
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/DataDictionaryDataSeedContributor.cs

@ -1,11 +1,3 @@
using System;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Guids;
using Volo.Abp.MultiTenancy;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public class DataDictionaryDataSeedContributor : IDataSeedContributor, ITransientDependency

9
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/DataDictionaryManager.cs

@ -1,12 +1,3 @@
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
using Volo.Abp;
using Volo.Abp.Caching;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public class DataDictionaryManager : DataDictionaryDomainService

7
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaries/IDataDictionaryRepository.cs

@ -1,10 +1,3 @@
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Volo.Abp.Domain.Repositories;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public interface IDataDictionaryRepository : IBasicRepository<DataDictionary, Guid>

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryDomainAutoMapperProfile.cs

@ -1,7 +1,3 @@
using AutoMapper;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
namespace Lion.AbpPro.DataDictionaryManagement
{
public class DataDictionaryDomainAutoMapperProfile : Profile

7
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryDomainService.cs

@ -1,10 +1,3 @@
using System;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Domain.Services;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.ObjectMapping;
using Volo.Abp.Uow;
namespace Lion.AbpPro.DataDictionaryManagement
{
public abstract class DataDictionaryDomainService : DomainService

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/DataDictionaryManagementDomainModule.cs

@ -1,8 +1,3 @@
using Volo.Abp.AutoMapper;
using Volo.Abp.Caching;
using Volo.Abp.Domain;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

31
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/GlobalUsings.cs

@ -0,0 +1,31 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;
global using AutoMapper;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dto;
global using Lion.AbpPro.Extension.Customs;
global using Microsoft.Extensions.DependencyInjection;
global using Volo.Abp;
global using Volo.Abp.AutoMapper;
global using Volo.Abp.Caching;
global using Volo.Abp.Data;
global using Volo.Abp.DependencyInjection;
global using Volo.Abp.Domain;
global using Volo.Abp.Domain.Entities.Auditing;
global using Volo.Abp.Domain.Entities.Events;
global using Volo.Abp.Domain.Repositories;
global using Volo.Abp.Domain.Services;
global using Volo.Abp.EventBus;
global using Volo.Abp.EventBus.Distributed;
global using Volo.Abp.Guids;
global using Volo.Abp.Modularity;
global using Volo.Abp.MultiTenancy;
global using Volo.Abp.ObjectMapping;
global using Volo.Abp.Settings;
global using Volo.Abp.Uow;

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/Lion.AbpPro.DataDictionaryManagement.Domain.csproj

@ -6,8 +6,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Ddd.Domain" />
<PackageReference Include="Volo.Abp.Caching" />
<PackageReference Include="Volo.Abp.Ddd.Domain" />
<PackageReference Include="Volo.Abp.Caching" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain.Shared\Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj" />
</ItemGroup>

2
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.Domain/Settings/DataDictionaryManagementSettingDefinitionProvider.cs

@ -1,5 +1,3 @@
using Volo.Abp.Settings;
namespace Lion.AbpPro.DataDictionaryManagement.Settings
{
public class DataDictionaryManagementSettingDefinitionProvider : SettingDefinitionProvider

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaries/DataDictionaryEfCoreQueryableExtensions.cs

@ -1,7 +1,3 @@
using System.Linq;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Microsoft.EntityFrameworkCore;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.DataDictionaries
{
public static class DataDictionaryEfCoreQueryableExtensions

11
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaries/EfCoreDataDictionaryRepository.cs

@ -1,14 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.DataDictionaries
{
public class EfCoreDataDictionaryRepository :

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementDbContext.cs

@ -1,8 +1,3 @@
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
[ConnectionStringName(DataDictionaryManagementDbProperties.ConnectionStringName)]

6
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementDbContextModelCreatingExtensions.cs

@ -1,9 +1,3 @@
using System;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
public static class DataDictionaryManagementDbContextModelCreatingExtensions

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementEntityFrameworkCoreModule.cs

@ -1,7 +1,3 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
[DependsOn(

3
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaryManagementModelBuilderConfigurationOptions.cs

@ -1,6 +1,3 @@
using JetBrains.Annotations;
using Volo.Abp.EntityFrameworkCore.Modeling;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
public class DataDictionaryManagementModelBuilderConfigurationOptions : AbpModelBuilderConfigurationOptions

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/IDataDictionaryManagementDbContext.cs

@ -1,8 +1,3 @@
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore
{
[ConnectionStringName(DataDictionaryManagementDbProperties.ConnectionStringName)]

18
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/GlobalUsings.cs

@ -0,0 +1,18 @@
// Global using directives
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;
global using JetBrains.Annotations;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.Extensions.DependencyInjection;
global using Volo.Abp;
global using Volo.Abp.Data;
global using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
global using Volo.Abp.EntityFrameworkCore;
global using Volo.Abp.EntityFrameworkCore.Modeling;
global using Volo.Abp.Modularity;

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj

@ -6,8 +6,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.EntityFrameworkCore"/>
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain\Lion.AbpPro.DataDictionaryManagement.Domain.csproj"/>
<PackageReference Include="Volo.Abp.EntityFrameworkCore" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain\Lion.AbpPro.DataDictionaryManagement.Domain.csproj" />
</ItemGroup>
</Project>

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/DataDictionaryManagementHttpApiClientModule.cs

@ -1,7 +1,3 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Modularity;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

5
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/GlobalUsings.cs

@ -0,0 +1,5 @@
// Global using directives
global using Microsoft.Extensions.DependencyInjection;
global using Volo.Abp.Http.Client;
global using Volo.Abp.Modularity;

4
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client/Lion.AbpPro.DataDictionaryManagement.HttpApi.Client.csproj

@ -6,11 +6,11 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Http.Client"/>
<PackageReference Include="Volo.Abp.Http.Client" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj"/>
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj" />
</ItemGroup>
</Project>

7
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/DataDictionaries/DataDictionaryController.cs

@ -1,10 +1,3 @@
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
using Lion.AbpPro.Extension.Customs.Dtos;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using Volo.Abp.Application.Dtos;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
[Route("DataDictionary")]

8
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/GlobalUsings.cs

@ -0,0 +1,8 @@
// Global using directives
global using System.Threading.Tasks;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
global using Lion.AbpPro.Extension.Customs.Dtos;
global using Microsoft.AspNetCore.Mvc;
global using Swashbuckle.AspNetCore.Annotations;
global using Volo.Abp.Application.Dtos;

6
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.HttpApi/Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj

@ -6,9 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore.Annotations"/>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc"/>
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj"/>
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj" />
</ItemGroup>
</Project>

6
aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/DataDictionaries/DataDictionaryAppService_Tests.cs

@ -1,9 +1,3 @@
using System.Linq;
using System.Threading.Tasks;
using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
using Shouldly;
using Xunit;
namespace Lion.AbpPro.DataDictionaryManagement.DataDictionaries
{
public class DataDictionaryAppService_Tests : DataDictionaryManagementApplicationTestBase

2
aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/DataDictionaryManagementApplicationTestModule.cs

@ -1,5 +1,3 @@
using Volo.Abp.Modularity;
namespace Lion.AbpPro.DataDictionaryManagement
{
[DependsOn(

8
aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/GlobalUsings.cs

@ -0,0 +1,8 @@
// Global using directives
global using System.Linq;
global using System.Threading.Tasks;
global using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Dtos;
global using Shouldly;
global using Volo.Abp.Modularity;
global using Xunit;

4
aspnet-core/modules/DataDictionaryManagement/test/Lion.AbpPro.DataDictionaryManagement.Application.Tests/Lion.AbpPro.DataDictionaryManagement.Application.Tests.csproj

@ -8,8 +8,8 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.Application\Lion.AbpPro.DataDictionaryManagement.Application.csproj"/>
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain.Tests\Lion.AbpPro.DataDictionaryManagement.Domain.Tests.csproj"/>
<ProjectReference Include="..\..\src\Lion.AbpPro.DataDictionaryManagement.Application\Lion.AbpPro.DataDictionaryManagement.Application.csproj" />
<ProjectReference Include="..\Lion.AbpPro.DataDictionaryManagement.Domain.Tests\Lion.AbpPro.DataDictionaryManagement.Domain.Tests.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>

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

Loading…
Cancel
Save