Show / Hide Table of Contents

Class ReflectionUtils

Inheritance
System.Object
ReflectionUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JotunnLib.Utils
Assembly: JotunnLib.dll
Syntax
public class ReflectionUtils

Methods

| Improve this Doc View Source

GetPrivateField<T>(Object, String)

Declaration
public static T GetPrivateField<T>(object instance, string name)
Parameters
Type Name Description
System.Object instance
System.String name
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetPrivateStaticField<T>(Type, String)

Declaration
public static T GetPrivateStaticField<T>(Type type, string name)
Parameters
Type Name Description
System.Type type
System.String name
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

InvokePrivate(Object, String, Object[])

Declaration
public static object InvokePrivate(object instance, string name, object[] args = null)
Parameters
Type Name Description
System.Object instance
System.String name
System.Object[] args
Returns
Type Description
System.Object
| Improve this Doc View Source

SetPrivateField(Object, String, Object)

Declaration
public static void SetPrivateField(object instance, string name, object value)
Parameters
Type Name Description
System.Object instance
System.String name
System.Object value
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX