Delegate AccessTools.FieldRef<F>
A readable/assignable reference delegate to a static field
Assembly: 0Harmony.dll
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
Declaration
public FieldRef(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
Declaration
public virtual F EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Declaration
public virtual F Invoke()
Returns