Click or drag to resize
VariableContainerExtensionsRegisterType Method (IVariableContainer, Type, String)
Registers a type with its name so static methods can be accessed via type name
Remarks
This registration does not register the type with their TypeId. If that's required, you need to register typeId manually on the execution context.

Namespace: FlexRule
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IVariableContainer RegisterType(
	this IVariableContainer container,
	Type type,
	string typeAliasName = null
)

Parameters

container
Type: FlexRuleIVariableContainer
type
Type: SystemType
Type to be registered in the container
typeAliasName (Optional)
Type: SystemString
Replaces the type name to access

Return Value

Type: IVariableContainer

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IVariableContainer. 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