Метод | Описание | |
---|---|---|
GetConstructor ( |
Gets the ConstructorInfo for a constructor. Throws an exception if the search fails.
|
|
GetField ( |
Gets the FieldInfo for a field. Throws an exception if the search fails.
|
|
GetInstanceMethod ( |
Gets the MethodInfo for an instance method. Throws an exception if the search fails.
|
|
GetStaticMethod ( |
Gets the MethodInfo for a static method. Throws an exception if the search fails.
|
|
SetObjectLiteralGetter ( |
Sets the value of a object literal property to a getter. If the value already has a setter then it will be retained.
|
|
SetObjectLiteralSetter ( |
Sets the value of a object literal property to a setter. If the value already has a getter then it will be retained.
|
|
SetObjectLiteralValue ( |
Sets the value of a object literal property to a value.
|
Метод | Описание | |
---|---|---|
GetGenericInstanceMethod ( |
Gets the MethodInfo for a generic instance method. Throws an exception if the search fails.
|
|
GetMembers ( ) : IEnumerable |
Gets an enumerable list of all the MemberInfos that are statically known to be used by this DLL.
|
|
ReflectionHelpers ( ) : System |
Initializes static members of this class.
|
public static GetConstructor ( |
||
type | The type to search. | |
Результат |
public static GetField ( |
||
type | The type to search. | |
name | string | The name of the field. |
Результат |
public static GetInstanceMethod ( |
||
type | The type to search. | |
name | string | The name of the method to search for. |
Результат |
public static GetStaticMethod ( |
||
type | The type to search. | |
name | string | The name of the method to search for. |
Результат |
public static SetObjectLiteralGetter ( |
||
obj | The object to set the property on. | |
key | object | The property key (can be a string or a symbol). |
getter | Jurassic.Library.UserDefinedFunction | The getter function. |
Результат | void |
public static SetObjectLiteralSetter ( |
||
obj | The object to set the property on. | |
key | object | The property key (can be a string or a symbol). |
setter | Jurassic.Library.UserDefinedFunction | The setter function. |
Результат | void |
public static SetObjectLiteralValue ( |
||
obj | The object to set the property on. | |
key | object | The property key (can be a string or a symbol). |
value | object | The value to set. |
Результат | void |