Table of Contents

Method EnumEvents

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

EnumEvents(Type, bool, BindingFlags)

Enumerates event information for the specified Type.

public static IEnumerable<EventInfo> EnumEvents(Type type, bool sort = false, BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public)

Parameters

type Type

Type which events are enumerated.

sort bool

Defines whether to sort result events by name.

bindingFlags BindingFlags

Specifies flags that control the way in which the search for members is conducted.

Returns

IEnumerable<EventInfo>