Method | Description | |
---|---|---|
CallMethod ( string method, object o ) : object |
Calls the given method on the given object with given arguments
|
|
CallStaticMethod ( string methodName, |
||
EnvironmentVersion ( ) : string | ||
Fields ( Object o ) : string |
Reflects over all the fields of an object
|
|
FindType ( string typeName ) : |
Searches the currently loaded assemblies for a type with the given name
|
|
FindType ( string typeName, List |
Searches the list of namespaces for the specified type
|
|
FindUnambiguousMember ( string methodName, |
Looks for a given member on a type. If it can be identified unambiguously return it, otherwise return null. N.B. LSharp is a dynamic language, so we don know the types of the arguments at rntime - just how many there are.
|
|
LSharpVersion ( ) : string | ||
LoadAssembly ( string name ) : |
Loads the assembly with the given name
|
|
MakeInstance ( |
||
TypeInfo ( |
Reflects over a type object to create a textual description of its declaration
|
Method | Description | |
---|---|---|
GetConstructor ( |
public static CallMethod ( string method, object o ) : object | ||
method | string | |
o | object | |
return | object |
public static CallStaticMethod ( string methodName, |
||
methodName | string | |
type | ||
return | object |
public static EnvironmentVersion ( ) : string | ||
return | string |
public static FindType ( string typeName ) : |
||
typeName | string | |
return |
public static FindType ( string typeName, List |
||
typeName | string | |
namespaces | List |
|
return |
public static FindUnambiguousMember ( string methodName, |
||
methodName | string | |
type | ||
argN | int | |
return |
public static LoadAssembly ( string name ) : |
||
name | string | |
return |
public static MakeInstance ( |
||
type | ||
arguments | object | |
return | object |
public static TypeInfo ( |
||
type | ||
return | string |