MacroMethodContainer RegisterMethodInternal Method ( String , Func EvaluationContext,  Object , Object , Type, String, Int32,  Object ,  String )Kentico 8.1 API Reference
Registers the given method within the method table.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

names
Type:  OnlineSystem String 
Method names to register
method
Type: OnlineSystem Func EvaluationContext,  OnlineObject , OnlineObject 
Method delegate
type
Type: OnlineSystem Type
Return type of the method
comment
Type: OnlineSystem String
Comment for the method
minimumParameters
Type: OnlineSystem Int32
Minimal number of parameters needed to call the method
parameterDefinition
Type:  OnlineSystem Object 
Parameter definition in format {{name, type, comment}, {name, type, comment}}
specialParameters (Optional)
Type:  OnlineSystem String 
A list of special parameters needed to be supplied by resolver
See Also