Skip to content

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 ​

NameDescription
AllowPrivateAccessorsGets a value indicating whether private members were included during metadata extraction.
FieldsGets the mapped field metadata for this type, keyed by field name.
MethodsGets the mapped method metadata for this type, grouped by method name,
NamespaceGets or sets the namespace associated with this type. Not required by expression evaluation
PropertiesGets the mapped property metadata for this type, keyed by property name.
TypeGets the underlying CLR type represented by this TypeClass.

Methods ​

NameDescription
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).