Show / Hide Table of Contents

Delegate AccessTools.FieldRef<F>

A readable/assignable reference delegate to a static field

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate F FieldRef<F>();
Returns
Type Description
F

A readable/assignable reference to the field

Type Parameters
Name Description
F

The type of the field; or if the field's type is a reference type (a class or interface, NOT a struct or other value type), a type that System.Type.IsAssignableFrom(System.Type) that type; or if the field's type is an enum type, either that type or the underlying integral type of that enum type

Constructors

FieldRef(Object, IntPtr)

Declaration
public FieldRef(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
Parameters
Type Name Description
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual F EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
F

Invoke()

Declaration
public virtual F Invoke()
Returns
Type Description
F
Back to top Generated by DocFX