The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

Reflection.

GetEventArgsTypeForEvent(Type, string) Method

Summary

Gets the appropriate EventArgs derived object for the specified event name for a Type.
Namespace
ReactiveUI
Containing Type
Reflection

Syntax

public static Type GetEventArgsTypeForEvent(Type type, string eventName)

Parameters

Name Type Description
type Type The type of object to find the event on.
eventName string The mame of the event.

Return Value

Type Description
Type The Type of the EventArgs to use.