Click or drag to resize
RuntimeEngineExtensionsRegisterType Method (IExecutableModel, String, String, 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,
	string assembly,
	string typeName,
	string aliasName = null
)

Parameters

engine
Type: FlexRuleIExecutableModel
assembly
Type: SystemString
name of assembly that has the type definition
typeName
Type: SystemString
Full type name, including namespace and name
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