Arbor 3: FSM & BT Graph Editor  3.7.8
MemberCache Class Reference

MemberInfo cache More...

Static Public Member Functions

static void Clear ()
 Clear cache More...
 
static MethodInfo GetMethodInfo (System.Type type, string methodName, System.Type[] arguments)
 Get MethodInfo. More...
 
static MethodInfo GetMethodInfoRenamedFrom (System.Type type, string methodName, System.Type[] arguments)
 Get the renamed MethodInfo. More...
 
static FieldInfo GetFieldInfo (System.Type type, string fieldName)
 Get FieldInfo. More...
 
static FieldInfo GetFieldInfoRenamedFrom (System.Type type, string fieldName, System.Type fieldType)
 Get the renamed FieldInfo. More...
 
static PropertyInfo GetPropertyInfo (System.Type type, string propertyName)
 Get PropertyInfo. More...
 
static PropertyInfo GetPropertyInfoRenamedFrom (System.Type type, string propertyName, System.Type propertyType)
 Get the renamed PropertyInfo. More...
 

Detailed Description

MemberInfo cache

Member Function Documentation

◆ Clear()

static void Clear ( )
static

Clear cache

◆ GetFieldInfo()

static FieldInfo GetFieldInfo ( System.Type  type,
string  fieldName 
)
static

Get FieldInfo.

Parameters
typeType
fieldNameField name
Returns
FieldInfo to get. If there is none, it returns null.

◆ GetFieldInfoRenamedFrom()

static FieldInfo GetFieldInfoRenamedFrom ( System.Type  type,
string  fieldName,
System.Type  fieldType 
)
static

Get the renamed FieldInfo.

Parameters
typeType
fieldNameField name
fieldTypeField type
Returns
FieldInfo to get. If there is none, it returns null.

◆ GetMethodInfo()

static MethodInfo GetMethodInfo ( System.Type  type,
string  methodName,
System.Type[]  arguments 
)
static

Get MethodInfo.

Parameters
typeType
methodNameMethod name
argumentsArgument types
Returns
MethodInfo to get. If there is none, it returns null.

◆ GetMethodInfoRenamedFrom()

static MethodInfo GetMethodInfoRenamedFrom ( System.Type  type,
string  methodName,
System.Type[]  arguments 
)
static

Get the renamed MethodInfo.

Parameters
typeType
methodNameMethod name
argumentsArgument types
Returns
MethodInfo to get. If there is none, it returns null.

◆ GetPropertyInfo()

static PropertyInfo GetPropertyInfo ( System.Type  type,
string  propertyName 
)
static

Get PropertyInfo.

Parameters
typeType
propertyNameProperty name
Returns
PropertyInfo to get. If there is none, it returns null.

◆ GetPropertyInfoRenamedFrom()

static PropertyInfo GetPropertyInfoRenamedFrom ( System.Type  type,
string  propertyName,
System.Type  propertyType 
)
static

Get the renamed PropertyInfo.

Parameters
typeType
propertyNameProperty name
propertyTypeProperty type
Returns
PropertyInfo to get. If there is none, it returns null.