Table of Contents

Method GetEvents

Namespace
Alternet.TsTypedefsGenerator.Core.TsModels
Assembly
Alternet.Common.TypeScript.v9.dll

GetEvents(BindingFlags)

When overridden in a derived class, searches for events that are declared or inherited by the current Type, using the specified binding constraints.

public override EventInfo[] GetEvents(BindingFlags bindingAttr)

Parameters

bindingAttr BindingFlags

A bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.

Returns

EventInfo[]

An array of EventInfo objects representing all events that are declared or inherited by the current Type that match the specified binding constraints.-or- An empty array of type EventInfo, if the current Type does not have events, or if none of the events match the binding constraints.