메소드 | 설명 | |
---|---|---|
AddTypeSearchPath ( string namespacePrefix, string assembly ) : bool |
Add a default namespace and assembly to search when looking for types
|
|
CreateGenericInstance ( this genericType, |
Creates an instance of a generic type given its definition, type parameters, and constructor args.
|
|
FindType ( string name ) : |
Makes a best effort to find the type object corresponding to the type with specified name.
|
|
GetPropertyOrField ( this value, string memberName ) : object |
Returns the value of the object's specified field or property.
|
메소드 | 설명 | |
---|---|---|
CreateGenericInstance ( this genericType, |
||
CreateInstance ( this type ) : object | ||
CreateInstance ( this type, List | ||
CreateInstanceWithInitializerKeywords ( this type, List | ||
GenericTypeInstanceOf ( this t, |
||
InvokeMethod ( this value, string methodName ) : object | ||
SetPropertyOrField ( this obj, string mname, object value ) : void | ||
TrySetPropertyOrField ( this objectToModify, string memberName, object value, bool errorOnMissing ) : bool |
public static AddTypeSearchPath ( string namespacePrefix, string assembly ) : bool | ||
namespacePrefix | string | Namespace to search |
assembly | string | Assembly to search |
리턴 | bool |
public static CreateGenericInstance ( this genericType, |
||
genericType | this | |
genericTypeParameters | ||
리턴 | object |
public static FindType ( string name ) : |
||
name | string | Name of the type |
리턴 |
public static GetPropertyOrField ( this value, string memberName ) : object | ||
value | this | |
memberName | string | |
리턴 | object |