mirror of https://github.com/abpframework/abp.git
137 changed files with 280 additions and 37 deletions
Binary file not shown.
@ -0,0 +1,6 @@ |
|||
namespace Volo.Abp.Application.Services |
|||
{ |
|||
public interface IRemoteService //TODO: Can we move this to another package?
|
|||
{ |
|||
} |
|||
} |
|||
@ -0,0 +1,27 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<Import Project="..\..\common.props" /> |
|||
|
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
<AssemblyName>Volo.Abp.Ddd</AssemblyName> |
|||
<PackageId>Volo.Abp.Ddd</PackageId> |
|||
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> |
|||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
|||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
|||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
|||
<RootNamespace /> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<ProjectReference Include="..\Volo.Abp.Core\Volo.Abp.Core.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.Data\Volo.Abp.Data.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.Guids\Volo.Abp.Guids.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.Http.Abstractions\Volo.Abp.Http.Abstractions.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.MultiTenancy.Abstractions\Volo.Abp.MultiTenancy.Abstractions.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.ObjectMapping\Volo.Abp.ObjectMapping.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.Threading\Volo.Abp.Threading.csproj" /> |
|||
<ProjectReference Include="..\Volo.Abp.Validation\Volo.Abp.Validation.csproj" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
|||
@ -0,0 +1,43 @@ |
|||
using System.Collections.Generic; |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using Volo.Abp.Application.Services; |
|||
using Volo.Abp.Data; |
|||
using Volo.Abp.Guids; |
|||
using Volo.Abp.Http; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Modularity; |
|||
using Volo.Abp.MultiTenancy; |
|||
using Volo.Abp.ObjectMapping; |
|||
using Volo.Abp.Threading; |
|||
using Volo.Abp.Uow; |
|||
using Volo.Abp.Validation; |
|||
|
|||
namespace Volo.Abp |
|||
{ |
|||
[DependsOn(typeof(AbpGuidsModule))] |
|||
[DependsOn(typeof(AbpDataModule))] |
|||
[DependsOn(typeof(AbpObjectMappingModule))] |
|||
[DependsOn(typeof(AbpMultiTenancyAbstractionsModule))] |
|||
[DependsOn(typeof(AbpThreadingModule))] |
|||
[DependsOn(typeof(AbpValidationModule))] |
|||
[DependsOn(typeof(AbpHttpAbstractionsModule))] |
|||
public class AbpDddModule : AbpModule |
|||
{ |
|||
public override void PreConfigureServices(IServiceCollection services) |
|||
{ |
|||
services.OnRegistred(UnitOfWorkInterceptorRegistrar.RegisterIfNeeded); |
|||
services.OnRegistred(ValidationInterceptorRegistrar.RegisterIfNeeded); |
|||
} |
|||
|
|||
public override void ConfigureServices(IServiceCollection services) |
|||
{ |
|||
services.Configure<ApiDescriptionModelOptions>(options => |
|||
{ |
|||
options.IgnoredInterfaces.AddIfNotContains(typeof(IRemoteService)); |
|||
options.IgnoredInterfaces.AddIfNotContains(typeof(IApplicationService)); |
|||
}); |
|||
|
|||
services.AddAssemblyOf<AbpDddModule>(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<Import Project="..\..\common.props" /> |
|||
|
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
<AssemblyName>Volo.Abp.Guids</AssemblyName> |
|||
<PackageId>Volo.Abp.Guids</PackageId> |
|||
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> |
|||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
|||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
|||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
|||
<RootNamespace /> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<ProjectReference Include="..\Volo.Abp.Core\Volo.Abp.Core.csproj" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
|||
@ -0,0 +1,13 @@ |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.Guids |
|||
{ |
|||
public class AbpGuidsModule : AbpModule |
|||
{ |
|||
public override void ConfigureServices(IServiceCollection services) |
|||
{ |
|||
services.AddAssemblyOf<AbpGuidsModule>(); |
|||
} |
|||
} |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue