Show / Hide Table of Contents

Class EventNameAttribute

Inheritance
System.Object
EventNameAttribute
Implements
IEventNameProvider
Namespace: Volo.Abp.EventBus
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
Name Description
TEvent

Implements

IEventNameProvider

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft