Skip to content

TryGetTypeClass Method ​

Definition ​

  • Namespace: JASE.Expressions
  • Assembly: JASE.Expressions.dll

bool TryGetTypeClass(string name, out TypeClass value) ​

csharp
bool TryGetTypeClass(string name, out TypeClass value)

Attempts to resolve or obtain type metadata for a known CLR type. Implementations may support both simple type names (for example, "Guid") and fully qualified names (for example, "System.Guid").

Parameters ​

NameDescription
nameThe type name used in expressions (simple or fully qualified).
valueWhen this method returns, contains a TypeClass describing the underlying CLR type if known; otherwise null.

Returns ​

true if type metadata was resolved; otherwise, false.