mirror of https://github.com/abpframework/abp
parent
499b0783d3
commit
0cb497371c
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Volo.Abp.EventBus.Local;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
|
||||
public class LocalEventHandlerOrderAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// Handlers execute in ascending numeric value of the Order property.
|
||||
/// </summary>
|
||||
public int Order { get; set; }
|
||||
|
||||
public LocalEventHandlerOrderAttribute(int order)
|
||||
{
|
||||
Order = order;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue