Click or drag to resize

EventExtensionMethods.RaiseEvent Method (EventHandler, Object)

Raises the event on the handler passed in with default empty arguments

Namespace:  SD.Tools.BCLExtensions.SystemRelated
Assembly:  SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.2.0
Syntax
public static void RaiseEvent(
	this EventHandler handler,
	Object sender
)

Parameters

handler
Type: System.EventHandler
The handler.
sender
Type: System.Object
The sender.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandler. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also