From 9956382e1214b10e7cff1d4a91bb8de37be537bd Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Tue, 22 Jan 2019 16:34:05 +0300 Subject: [PATCH] Adjust namespaces --- .../ProductManagement.Application.Contracts.csproj | 4 ++-- .../ProductManagement/CreateProductDto.cs | 0 .../ProductManagement/IProductAppService.cs | 0 .../ProductManagement/IPublicProductAppService.cs | 0 .../Localization/ApplicationContracts/en.json | 0 .../Localization/ApplicationContracts/pt-BR.json | 0 .../Localization/ApplicationContracts/zh-Hans.json | 0 .../{MyCompanyName => }/ProductManagement/ProductDto.cs | 0 .../ProductManagementApplicationContractsModule.cs | 5 ++--- .../ProductManagementPermissionDefinitionProvider.cs | 0 .../ProductManagement/ProductManagementPermissions.cs | 0 .../ProductManagement/UpdateProductDto.cs | 0 .../ProductManagement/ProductAppService.cs | 0 .../ProductManagementApplicationAutoMapperProfile.cs | 0 .../ProductManagement/ProductManagementApplicationModule.cs | 3 +-- .../ProductManagementSettingDefinitionProvider.cs | 0 .../ProductManagement/ProductManagementSettings.cs | 0 .../ProductManagement/PublicProductAppService.cs | 0 .../ProductManagement/ProductManagementDomainModule.cs | 2 +- .../ProductManagement/ProductManagementHttpApiModule.cs | 0 .../ProductManagement/ProductsController.cs | 0 .../ProductManagement/PublicProductsController.cs | 0 22 files changed, 6 insertions(+), 8 deletions(-) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/CreateProductDto.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/IProductAppService.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/IPublicProductAppService.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/Localization/ApplicationContracts/en.json (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/Localization/ApplicationContracts/pt-BR.json (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/Localization/ApplicationContracts/zh-Hans.json (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/ProductDto.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/ProductManagementApplicationContractsModule.cs (84%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/ProductManagementPermissionDefinitionProvider.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/ProductManagementPermissions.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/{MyCompanyName => }/ProductManagement/UpdateProductDto.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/ProductAppService.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/ProductManagementApplicationAutoMapperProfile.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/ProductManagementApplicationModule.cs (91%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/ProductManagementSettingDefinitionProvider.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/ProductManagementSettings.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/{MyCompanyName => }/ProductManagement/PublicProductAppService.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/{MyCompanyName => }/ProductManagement/ProductManagementHttpApiModule.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/{MyCompanyName => }/ProductManagement/ProductsController.cs (100%) rename samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/{MyCompanyName => }/ProductManagement/PublicProductsController.cs (100%) diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement.Application.Contracts.csproj b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement.Application.Contracts.csproj index 1ff3221ba4..4a468cc5c1 100644 --- a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement.Application.Contracts.csproj +++ b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement.Application.Contracts.csproj @@ -11,11 +11,11 @@ - + - + diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/CreateProductDto.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/CreateProductDto.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/CreateProductDto.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/CreateProductDto.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/IProductAppService.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/IProductAppService.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/IProductAppService.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/IProductAppService.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/IPublicProductAppService.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/IPublicProductAppService.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/IPublicProductAppService.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/IPublicProductAppService.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/en.json b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/en.json similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/en.json rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/en.json diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/pt-BR.json b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/pt-BR.json similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/pt-BR.json rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/pt-BR.json diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/zh-Hans.json b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/zh-Hans.json similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/Localization/ApplicationContracts/zh-Hans.json rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/Localization/ApplicationContracts/zh-Hans.json diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductDto.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductDto.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductDto.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductDto.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementApplicationContractsModule.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementApplicationContractsModule.cs similarity index 84% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementApplicationContractsModule.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementApplicationContractsModule.cs index f2cf5cf2d8..d8697022b8 100644 --- a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementApplicationContractsModule.cs +++ b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementApplicationContractsModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using ProductManagement.Localization; +using ProductManagement.Localization; using Volo.Abp.Application; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Localization; @@ -30,7 +29,7 @@ namespace ProductManagement { options.Resources .Get() - .AddVirtualJson("/MyCompanyName/ProductManagement/Localization/ApplicationContracts"); + .AddVirtualJson("/ProductManagement/Localization/ApplicationContracts"); }); } } diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementPermissionDefinitionProvider.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementPermissionDefinitionProvider.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementPermissionDefinitionProvider.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementPermissionDefinitionProvider.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementPermissions.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementPermissions.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/ProductManagementPermissions.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/ProductManagementPermissions.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/UpdateProductDto.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/UpdateProductDto.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/MyCompanyName/ProductManagement/UpdateProductDto.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application.Contracts/ProductManagement/UpdateProductDto.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductAppService.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductAppService.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductAppService.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductAppService.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementApplicationAutoMapperProfile.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementApplicationAutoMapperProfile.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementApplicationAutoMapperProfile.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementApplicationAutoMapperProfile.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementApplicationModule.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementApplicationModule.cs similarity index 91% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementApplicationModule.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementApplicationModule.cs index a51f104e20..999f6385ca 100644 --- a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementApplicationModule.cs +++ b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementApplicationModule.cs @@ -1,5 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; -using Volo.Abp.AutoMapper; +using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Volo.Abp.Settings; diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementSettingDefinitionProvider.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementSettingDefinitionProvider.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementSettingDefinitionProvider.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementSettingDefinitionProvider.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementSettings.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementSettings.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/ProductManagementSettings.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/ProductManagementSettings.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/PublicProductAppService.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/PublicProductAppService.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/MyCompanyName/ProductManagement/PublicProductAppService.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.Application/ProductManagement/PublicProductAppService.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Domain/ProductManagement/ProductManagementDomainModule.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Domain/ProductManagement/ProductManagementDomainModule.cs index 8d20b094ef..3dcd5c6f13 100644 --- a/samples/MicroserviceDemo/modules/product/src/ProductManagement.Domain/ProductManagement/ProductManagementDomainModule.cs +++ b/samples/MicroserviceDemo/modules/product/src/ProductManagement.Domain/ProductManagement/ProductManagementDomainModule.cs @@ -25,7 +25,7 @@ namespace ProductManagement Configure(options => { - options.Resources.Get().AddVirtualJson("/MyCompanyName/ProductManagement/Localization/Domain"); + options.Resources.Get().AddVirtualJson("/ProductManagement/Localization/Domain"); }); Configure(options => diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/ProductManagementHttpApiModule.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/ProductManagementHttpApiModule.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/ProductManagementHttpApiModule.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/ProductManagementHttpApiModule.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/ProductsController.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/ProductsController.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/ProductsController.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/ProductsController.cs diff --git a/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/PublicProductsController.cs b/samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/PublicProductsController.cs similarity index 100% rename from samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/MyCompanyName/ProductManagement/PublicProductsController.cs rename to samples/MicroserviceDemo/modules/product/src/ProductManagement.HttpApi/ProductManagement/PublicProductsController.cs