mirror of https://github.com/abpframework/eventhub
8 changed files with 56 additions and 22 deletions
@ -0,0 +1,20 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<Import Project="..\..\common.props" /> |
|||
|
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
<RootNamespace>EventHub.Admin</RootNamespace> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<ProjectReference Include="..\EventHub.Domain.Shared\EventHub.Domain.Shared.csproj" /> |
|||
</ItemGroup> |
|||
|
|||
<ItemGroup> |
|||
<PackageReference Include="Volo.Abp.Account.Application.Contracts" Version="4.2.1" /> |
|||
<PackageReference Include="Volo.Abp.Identity.Application.Contracts" Version="4.2.1" /> |
|||
<PackageReference Include="Volo.Abp.PermissionManagement.Application.Contracts" Version="4.2.1" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
|||
@ -0,0 +1,21 @@ |
|||
using Volo.Abp.Account; |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.Modularity; |
|||
using Volo.Abp.PermissionManagement; |
|||
|
|||
namespace EventHub.Admin |
|||
{ |
|||
[DependsOn( |
|||
typeof(EventHubDomainSharedModule), |
|||
typeof(AbpAccountApplicationContractsModule), |
|||
typeof(AbpIdentityApplicationContractsModule), |
|||
typeof(AbpPermissionManagementApplicationContractsModule) |
|||
)] |
|||
public class EventHubAdminApplicationContractsModule : AbpModule |
|||
{ |
|||
public override void PreConfigureServices(ServiceConfigurationContext context) |
|||
{ |
|||
EventHubDtoExtensions.Configure(); |
|||
} |
|||
} |
|||
} |
|||
@ -1,8 +1,6 @@ |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.ObjectExtending; |
|||
using Volo.Abp.Threading; |
|||
using Volo.Abp.Threading; |
|||
|
|||
namespace EventHub |
|||
namespace EventHub.Admin |
|||
{ |
|||
public static class EventHubDtoExtensions |
|||
{ |
|||
@ -1,4 +1,4 @@ |
|||
namespace EventHub.Permissions |
|||
namespace EventHub.Admin.Permissions |
|||
{ |
|||
public static class EventHubPermissions |
|||
{ |
|||
@ -1,23 +1,14 @@ |
|||
using Volo.Abp.Account; |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.Application; |
|||
using Volo.Abp.Modularity; |
|||
using Volo.Abp.ObjectExtending; |
|||
using Volo.Abp.PermissionManagement; |
|||
|
|||
namespace EventHub |
|||
{ |
|||
[DependsOn( |
|||
typeof(EventHubDomainSharedModule), |
|||
typeof(AbpAccountApplicationContractsModule), |
|||
typeof(AbpIdentityApplicationContractsModule), |
|||
typeof(AbpPermissionManagementApplicationContractsModule), |
|||
typeof(AbpObjectExtendingModule) |
|||
typeof(AbpDddApplicationContractsModule) |
|||
)] |
|||
public class EventHubApplicationContractsModule : AbpModule |
|||
{ |
|||
public override void PreConfigureServices(ServiceConfigurationContext context) |
|||
{ |
|||
EventHubDtoExtensions.Configure(); |
|||
} |
|||
|
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue