tModLoader v2024.09
A mod to make and play Terraria mods
LoaderUtils.MethodOverrideQuery< T > Class Template Reference

Public Member Functions

bool HasOverride (T t)
 

Static Public Member Functions

static MethodOverrideQuery< T > Create (Expression< Func< T, Delegate > > expr)
 
static MethodOverrideQuery< T > Create< F > (Expression< Func< T, F > > expr)
 The expr must take one of the following forms More...
 

Properties

Func< T, Delegate?> Binder [get]
 
MethodInfo Method [get]
 

Member Function Documentation

◆ Create< F >()

static MethodOverrideQuery< T > LoaderUtils.MethodOverrideQuery< T >.Create< F > ( Expression< Func< T, F > >  expr)
static

The expr must take one of the following forms

e => e.Method e => (DelegateType)e.Method e => (e(Interface)).Method

Type Constraints
F :Delegate