TypeRegistry Class

Defines a registry of types and symbols needed for an ExpressionCompiler.

Definition

Namespace: Gemstone.Expressions.Evaluator
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.137 -- Release Build+c01c06f95fd3b3a0ec8c06e0f13d6fe82d7170d3
public class TypeRegistry
Inheritance
Object    TypeRegistry

Constructors

TypeRegistry Creates a new TypeRegistry.

Properties

Assemblies Gets distinct assemblies for all RegisteredTypes.
GeneratedContextTypeCount Gets total count of generated context types.
ItemString Gets value for registered symbol with specified name.
ItemString, Type Sets value for registered symbol with specified name, new symbol will be registered if symbol does not exist.
Namespaces Gets distinct namespaces for all RegisteredTypes.
RegisteredSymbols Gets registered symbols.
RegisteredTypes Gets registered types including explicitly registered types and types for registered symbols.
StaticTypes Gets distinct static types for all types registered with RegisterStaticType(Type).

Methods

Clone Creates a cloned instance of this TypeRegistry.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetContextType(Type, Type, ISupportContextVariables) Gets a compiled context type based on registered types and symbols.
GetContextTypeTResult, TInstanceParameter(ISupportContextVariables) Gets a compiled context type based on registered types and symbols.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNewContext(Type, Type, ISupportContextVariables) Gets a new context instance.
GetNewContextTResult, TInstanceParameter(ISupportContextVariables) Gets a new context instance.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RegisterStaticType(Type) Registers a new static Type, i.e., for access in expressions with static using.
RegisterStaticTypeT Registers a new static Type, i.e., for access in expressions with static using.
RegisterSymbol(Symbol) Registers a new or updates an existing Symbol.
RegisterSymbolT(String, T) Registers a new or updates an existing Symbol with specified name and value.
RegisterType(Type) Registers a new Type.
RegisterTypeT Registers a new Type.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also