C# Class Scriban.Runtime.DelegateCustomFunction

Inheritance: IScriptCustomFunction
Exibir arquivo Open project: lunet-io/scriban

Public Methods

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

Method Details

DelegateCustomFunction() public method

public DelegateCustomFunction ( Func customFunction ) : System
customFunction Func
return System

Evaluate() public method

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