Browse Source

Merge pull request #138 from colinin/3.3

User events should not be defined in the message domain layer
pull/177/head
cKey 5 years ago
committed by GitHub
parent
commit
6fbc575088
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      aspnet-core/modules/common/LINGYUN.Abp.Notifications/LINGYUN/Abp/Notifications/LocalizableStringInfo.cs
  2. 0
      aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs
  3. 0
      aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs
  4. 0
      aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs

21
aspnet-core/modules/common/LINGYUN.Abp.Notifications/LINGYUN/Abp/Notifications/LocalizableStringInfo.cs

@ -2,14 +2,29 @@
namespace LINGYUN.Abp.Notifications
{
/// <summary>
/// The notification that needs to be localized
/// </summary>
public class LocalizableStringInfo
{
/// <summary>
/// Resource name
/// </summary>
public string ResourceName { get; }
/// <summary>
/// Properties
/// </summary>
public string Name { get; }
/// <summary>
/// Formatted data
/// </summary>
public Dictionary<object, object> Values { get; }
/// <summary>
/// Instantiate <see cref="LocalizableStringInfo"/>
/// </summary>
/// <param name="resourceName">Resource name</param>
/// <param name="name">Properties</param>
/// <param name="values">Formatted data</param>
public LocalizableStringInfo(
string resourceName,
string name,

0
aspnet-core/modules/message/LINGYUN.Abp.MessageService.Domain/LINGYUN/Abp/MessageService/EventBus/Distributed/UserCreateEventHandler.cs → aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs

0
aspnet-core/modules/message/LINGYUN.Abp.MessageService.Domain/LINGYUN/Abp/MessageService/EventBus/Local/UserCreateJoinIMEventHandler.cs → aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs

0
aspnet-core/modules/message/LINGYUN.Abp.MessageService.Domain/LINGYUN/Abp/MessageService/EventBus/Local/UserCreateSendWelcomeEventHandler.cs → aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs

Loading…
Cancel
Save