C# Class Scriban.Helpers.IncludeFunction

The include function available through the function 'include' in scriban.
Inheritance: IScriptCustomFunction
ファイルを表示 Open project: lunet-io/scriban Class Usage Examples

Public Methods

Method Description
Evaluate ( TemplateContext context, ScriptNode callerContext, ScriptArray parameters, ScriptBlockStatement blockStatement ) : object

Private Methods

Method Description
IncludeFunction ( ) : System
Register ( ScriptObject builtins ) : void

Method Details

Evaluate() public method

public Evaluate ( TemplateContext context, ScriptNode callerContext, ScriptArray parameters, ScriptBlockStatement blockStatement ) : object
context TemplateContext
callerContext Scriban.Runtime.ScriptNode
parameters ScriptArray
blockStatement Scriban.Runtime.ScriptBlockStatement
return object