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.110 -- Release Build+d9cbb49d009f536d325018112e5411c7c36b5400
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 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.

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) Gets a compiled context type based on registered types and symbols.
GetContextTypeTResult, TInstanceParameter Gets a compiled context type based on registered types and symbols.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNewContext(Type, Type) Gets a new context instance.
GetNewContextTResult, TInstanceParameter 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)
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