Browse Source

Merge pull request #337 from colinin/4.4

fix(realtime): realTime module dependencies should be specified
pull/364/head
yx lin 4 years ago
committed by GitHub
parent
commit
d6d3eac127
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      aspnet-core/modules/common/LINGYUN.Abp.IM/LINGYUN/Abp/IM/AbpIMModule.cs
  2. 4
      aspnet-core/modules/common/LINGYUN.Abp.Notifications/LINGYUN/Abp/Notifications/AbpNotificationModule.cs

7
aspnet-core/modules/common/LINGYUN.Abp.IM/LINGYUN/Abp/IM/AbpIMModule.cs

@ -1,9 +1,12 @@
using Volo.Abp.EventBus;
using LINGYUN.Abp.RealTime;
using Volo.Abp.EventBus;
using Volo.Abp.Modularity;
namespace LINGYUN.Abp.IM
{
[DependsOn(typeof(AbpEventBusModule))]
[DependsOn(
typeof(AbpEventBusModule),
typeof(AbpRealTimeModule))]
public class AbpIMModule : AbpModule
{
}

4
aspnet-core/modules/common/LINGYUN.Abp.Notifications/LINGYUN/Abp/Notifications/AbpNotificationModule.cs

@ -1,4 +1,5 @@
using LINGYUN.Abp.Notifications.Internal;
using LINGYUN.Abp.RealTime;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
@ -15,7 +16,8 @@ namespace LINGYUN.Abp.Notifications
[DependsOn(
typeof(AbpBackgroundWorkersModule),
typeof(AbpBackgroundJobsAbstractionsModule),
typeof(AbpJsonModule))]
typeof(AbpJsonModule),
typeof(AbpRealTimeModule))]
public class AbpNotificationModule : AbpModule
{

Loading…
Cancel
Save