TypeRegistryGetContextType(Type, Type, ISupportContextVariables) Method
Gets a compiled context type based on registered types and symbols.
Namespace: Gemstone.Expressions.EvaluatorAssembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.172 -- Release Build+966c8422e74f90bc43997b098f8f7525356f58c8
function GetContextType(resultType, instanceParameterType, variableContext);
- resultType Type
- Return value Type used for generated context type functions.
- instanceParameterType Type
- Instance parameter Type for generated context type functions.
- variableContext ISupportContextVariables (Optional)
- Optional ISupportContextVariables instance to use for context variables.
TypeCompiled context type based on registered types and symbols.
This method may generate a new runtime type based on registered types and symbols
that is compiled into its own assembly and loaded into memory. The same cached type
will be returned unless the registered types or symbols change. Since prior compiled
assemblies cannot be unloaded, this property should only be called after all the
desired types and symbols have been registered.