ReflectionUtils.InvokeEvent

Allows invoking an event from an external classes where direct access is not allowed (due to 'Can only assign to left hand side of operation')

public static void InvokeEvent(object instance,
	string eventName,
	Object[] parameters)

Parameters

instance
Instance of the object hosting the event

eventName
Name of the event to invoke

parameters
Optional parameters to the event handler to be invoked


See also:

Class ReflectionUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic