MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​InvokersIEvent­InvokerRaise
Open sandboxFocus

IEventInvoker.Raise Method

Raise(Object[])

Generates run-time code that raises the current event with specified arguments. By default, the target instance of the event is this unless the event is static, and the base implementation of the event is invoked, i.e. the implementation before the current aspect layer. To change the default values, or to use the ?. null-conditional operator, use the With(InvokerOptions) method.

Declaration
dynamic Raise(params dynamic[] args)
Parameters
Type Name Description
System.Object[] args
Returns
Type Description
System.Object