Appearance
TypeClass Class
Definition
Reflection-based metadata container used by ExpressionEvaluator to represent a .NET Type inside the expression language.
- Namespace:
JASE.Expressions.Models - Assembly:
JASE.Expressions.dll
Properties
| Name | Description |
|---|---|
AllowPrivateAccessors | Gets a value indicating whether private members were included during metadata extraction. |
Fields | Gets the mapped field metadata for this type, keyed by field name. |
Methods | Gets the mapped method metadata for this type, grouped by method name, |
Namespace | Gets or sets the namespace associated with this type. Not required by expression evaluation |
Properties | Gets the mapped property metadata for this type, keyed by property name. |
Type | Gets the underlying CLR type represented by this TypeClass. |
Methods
| Name | Description |
|---|---|
MethodInfo GetMethodInfo(string methodName, Type[] types, bool matchParameterTypes = null) | Looks up a method by name and optionally by exact parameter signature. |
Remarks
A TypeClass preloads accessible methods, properties, and fields from a target Type using either public reflection only or a broader set including non-public members (controlled via AllowPrivateAccessors).
The parser and evaluator use this metadata to resolve member access expressions such as: Guid.Parse(x), dt.Year, obj.SomeMethod(y).