Class EventNameAttribute
Inheritance
System.Object
EventNameAttribute
Assembly: Volo.Abp.EventBus.dll
Syntax
public class EventNameAttribute : Attribute, IEventNameProvider
Constructors
EventNameAttribute(String)
Declaration
public EventNameAttribute(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Properties
Name
Declaration
public virtual string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetName(Type)
Declaration
public string GetName(Type eventType)
Parameters
Type |
Name |
Description |
Type |
eventType |
|
Returns
Type |
Description |
System.String |
|
GetNameOrDefault(Type)
Declaration
public static string GetNameOrDefault(Type eventType)
Parameters
Type |
Name |
Description |
Type |
eventType |
|
Returns
Type |
Description |
System.String |
|
GetNameOrDefault<TEvent>()
Declaration
public static string GetNameOrDefault<TEvent>()
Returns
Type |
Description |
System.String |
|
Type Parameters
Implements
Extension Methods