Show / Hide Table of Contents

Interface IEventDataWithInheritableGenericArgument

This interface must be implemented by event data classes that has a single generic argument and this argument will be used by inheritance.

For example; Assume that Student inherits From Person. When trigger an EntityCreatedEventData{Student}, EntityCreatedEventData{Person} is also triggered if EntityCreatedEventData implements this interface.

Namespace: Volo.Abp.EventBus
Assembly: Volo.Abp.EventBus.dll
Syntax
public interface IEventDataWithInheritableGenericArgument

Methods

GetConstructorArgs()

Gets arguments to create this class since a new instance of this class is created.

Declaration
object[] GetConstructorArgs()
Returns
Type Description
System.Object[]

Constructor arguments

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