Click or drag to resize
RuntimeEngineExtensionsRegisterType Method (IExecutableModel, Type, String)
Registers a type on execution context inside both IVariableContainer and TypeIdRegistry.

Namespace: FlexRule
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static void RegisterType(
	this IExecutableModel engine,
	Type type,
	string aliasName = null
)

Parameters

engine
Type: FlexRuleIExecutableModel
type
Type: SystemType
Type to register in context
aliasName (Optional)
Type: SystemString
Alias for the type name to register and expose type as other name than its original

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IExecutableModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also