C# Class Stubble.Core.Classes.Tokens.InterpolationToken

An abstract class representing a token which can be interpolated
Inheritance: ParserOutput
显示文件 Open project: StubbleOrg/Stubble

Public Methods

Method Description
InterpolateLambdaValueIfPossible ( object value, Writer writer, Context context, string>.IDictionary partials ) : object

Returns the value or if a lambda the result of the lambda (or interpolated value result)

Method Details

InterpolateLambdaValueIfPossible() public method

Returns the value or if a lambda the result of the lambda (or interpolated value result)
public InterpolateLambdaValueIfPossible ( object value, Writer writer, Context context, string>.IDictionary partials ) : object
value object the value to be checked and possibly interpolated
writer Writer The writer to write the token to
context Context The context to discover values from
partials string>.IDictionary The partial templates available to the token
return object