C# Class HandlebarsDotNet.Compiler.HandlebarsExpression

Inheritance: System.Linq.Expressions.Expression
Exibir arquivo Open project: rexm/Handlebars.Net Class Usage Examples

Public Methods

Method Description
BlockHelper ( string helperName, IEnumerable arguments, Expression body, Expression inversion ) : HandlebarsDotNet.Compiler.BlockHelperExpression
Boolish ( Expression condition ) : HandlebarsDotNet.Compiler.BoolishExpression
Comment ( string value ) : HandlebarsDotNet.Compiler.CommentExpression
DeferredSection ( HandlebarsDotNet.Compiler.PathExpression path, System.Linq.Expressions.BlockExpression body, System.Linq.Expressions.BlockExpression inversion ) : HandlebarsDotNet.Compiler.DeferredSectionExpression
HashParametersExpression ( object>.Dictionary parameters ) : HandlebarsDotNet.Compiler.HashParametersExpression
Helper ( string helperName ) : HandlebarsDotNet.Compiler.HelperExpression
Helper ( string helperName, IEnumerable arguments ) : HandlebarsDotNet.Compiler.HelperExpression
Iterator ( Expression sequence, Expression template ) : HandlebarsDotNet.Compiler.IteratorExpression
Iterator ( Expression sequence, Expression template, Expression ifEmpty ) : HandlebarsDotNet.Compiler.IteratorExpression
Partial ( Expression partialName ) : PartialExpression
Partial ( Expression partialName, Expression argument ) : PartialExpression
Partial ( Expression partialName, Expression argument, Expression fallback ) : PartialExpression
Path ( string path ) : HandlebarsDotNet.Compiler.PathExpression
Statement ( Expression body, bool isEscaped, bool trimBefore, bool trimAfter ) : HandlebarsDotNet.Compiler.StatementExpression
Static ( string value ) : HandlebarsDotNet.Compiler.StaticExpression
SubExpression ( Expression expression ) : SubExpressionExpression

Method Details

BlockHelper() public static method

public static BlockHelper ( string helperName, IEnumerable arguments, Expression body, Expression inversion ) : HandlebarsDotNet.Compiler.BlockHelperExpression
helperName string
arguments IEnumerable
body System.Linq.Expressions.Expression
inversion System.Linq.Expressions.Expression
return HandlebarsDotNet.Compiler.BlockHelperExpression

Boolish() public static method

public static Boolish ( Expression condition ) : HandlebarsDotNet.Compiler.BoolishExpression
condition System.Linq.Expressions.Expression
return HandlebarsDotNet.Compiler.BoolishExpression

Comment() public static method

public static Comment ( string value ) : HandlebarsDotNet.Compiler.CommentExpression
value string
return HandlebarsDotNet.Compiler.CommentExpression

DeferredSection() public static method

public static DeferredSection ( HandlebarsDotNet.Compiler.PathExpression path, System.Linq.Expressions.BlockExpression body, System.Linq.Expressions.BlockExpression inversion ) : HandlebarsDotNet.Compiler.DeferredSectionExpression
path HandlebarsDotNet.Compiler.PathExpression
body System.Linq.Expressions.BlockExpression
inversion System.Linq.Expressions.BlockExpression
return HandlebarsDotNet.Compiler.DeferredSectionExpression

HashParametersExpression() public static method

public static HashParametersExpression ( object>.Dictionary parameters ) : HandlebarsDotNet.Compiler.HashParametersExpression
parameters object>.Dictionary
return HandlebarsDotNet.Compiler.HashParametersExpression

Helper() public static method

public static Helper ( string helperName ) : HandlebarsDotNet.Compiler.HelperExpression
helperName string
return HandlebarsDotNet.Compiler.HelperExpression

Helper() public static method

public static Helper ( string helperName, IEnumerable arguments ) : HandlebarsDotNet.Compiler.HelperExpression
helperName string
arguments IEnumerable
return HandlebarsDotNet.Compiler.HelperExpression

Iterator() public static method

public static Iterator ( Expression sequence, Expression template ) : HandlebarsDotNet.Compiler.IteratorExpression
sequence System.Linq.Expressions.Expression
template System.Linq.Expressions.Expression
return HandlebarsDotNet.Compiler.IteratorExpression

Iterator() public static method

public static Iterator ( Expression sequence, Expression template, Expression ifEmpty ) : HandlebarsDotNet.Compiler.IteratorExpression
sequence System.Linq.Expressions.Expression
template System.Linq.Expressions.Expression
ifEmpty System.Linq.Expressions.Expression
return HandlebarsDotNet.Compiler.IteratorExpression

Partial() public static method

public static Partial ( Expression partialName ) : PartialExpression
partialName System.Linq.Expressions.Expression
return PartialExpression

Partial() public static method

public static Partial ( Expression partialName, Expression argument ) : PartialExpression
partialName System.Linq.Expressions.Expression
argument System.Linq.Expressions.Expression
return PartialExpression

Partial() public static method

public static Partial ( Expression partialName, Expression argument, Expression fallback ) : PartialExpression
partialName System.Linq.Expressions.Expression
argument System.Linq.Expressions.Expression
fallback System.Linq.Expressions.Expression
return PartialExpression

Path() public static method

public static Path ( string path ) : HandlebarsDotNet.Compiler.PathExpression
path string
return HandlebarsDotNet.Compiler.PathExpression

Statement() public static method

public static Statement ( Expression body, bool isEscaped, bool trimBefore, bool trimAfter ) : HandlebarsDotNet.Compiler.StatementExpression
body System.Linq.Expressions.Expression
isEscaped bool
trimBefore bool
trimAfter bool
return HandlebarsDotNet.Compiler.StatementExpression

Static() public static method

public static Static ( string value ) : HandlebarsDotNet.Compiler.StaticExpression
value string
return HandlebarsDotNet.Compiler.StaticExpression

SubExpression() public static method

public static SubExpression ( Expression expression ) : SubExpressionExpression
expression System.Linq.Expressions.Expression
return SubExpressionExpression