Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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 |
Résultat | bool |
public static CreateGenericInstance ( this genericType, |
||
genericType | this | |
genericTypeParameters | ||
Résultat | object |
public static FindType ( string name ) : |
||
name | string | Name of the type |
Résultat |
public static GetPropertyOrField ( this value, string memberName ) : object | ||
value | this | |
memberName | string | |
Résultat | object |