Table of Contents

Method FindEvent

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

FindEvent(TypeDefinition, string)

Find an event for a given name.
public static EventDefinition? FindEvent(this TypeDefinition type, string name)

Parameters

type TypeDefinition
The type to search in.
name string
The event name.

Returns

EventDefinition
The first matching event or null.