Commit 9a03c2ae by dingsongjie

去掉 eventhandlerattribute

parent 88875948
......@@ -8,7 +8,6 @@ using System.Threading.Tasks;
namespace Backet.Api.EventHandlers
{
[EventHandler(EventName = "Backet.Api.Domain.Event.BacketCreatedEvent")]
public class ToNoticeBacketCreatedEventHandler : PoleEventHandler<BacketCreatedEvent>, IToNoticeBacketCreatedEventHandler
{
public Task BulkEventsHandle(List<BacketCreatedEvent> @event)
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Pole.Core.EventBus.EventHandler
{
[AttributeUsage(AttributeTargets.Class)]
public class EventHandlerAttribute: Attribute
{
public string EventName { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment