Skip to main content

ForEachStatementExprBlock

Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class ForEachStatementExprBlock : StatementExprBlock, ITemplateWriter

Properties

EnumeratorName

View Source
Declaration
public string EnumeratorName { get; set; }

MemberExpr

View Source
Declaration
public string MemberExpr { get; set; }

MemberVarName

View Source
Declaration
public string MemberVarName { get; set; }

Inherited Properties

ChildBlocks

View Source
Declaration
public TemplateBlock[] ChildBlocks { get; set; }

Condition

View Source
Declaration
public string Condition { get; set; }

Id

View Source
Declaration
public int Id { get; set; }

Statement

View Source
Declaration
public string Statement { get; set; }

Methods

OnFirstRun()

View Source
Declaration
protected override void OnFirstRun()

Write(MarkdownViewBase, TextWriter, Dictionary<String, Object>)

View Source
Declaration
public override void Write(MarkdownViewBase instance, TextWriter textWriter, Dictionary<string, object> scopeArgs)
Parameters
TypeName
ServiceStack.Markdown.MarkdownViewBaseinstance
System.IO.TextWritertextWriter
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs

Inherited Methods

Extract(String, List<StatementExprBlock>)

View Source
Declaration
public static string Extract(string content, List<StatementExprBlock> allStatements)
Returns

System.String

Parameters
TypeName
System.Stringcontent
System.Collections.Generic.List<ServiceStack.Support.Markdown.StatementExprBlock>allStatements

OnAfterFirstRun()

View Source
Declaration
protected override void OnAfterFirstRun()

OnFirstRun()

View Source
Declaration
protected override void OnFirstRun()

OnFirstRun(Boolean)

View Source
Declaration
protected void OnFirstRun(bool applyToChildren)
Parameters
TypeName
System.BooleanapplyToChildren

Prepare(List<StatementExprBlock>)

View Source
Declaration
protected virtual void Prepare(List<StatementExprBlock> allStatements)
Parameters
TypeName
System.Collections.Generic.List<ServiceStack.Support.Markdown.StatementExprBlock>allStatements

Write(MarkdownViewBase, TextWriter, Dictionary<String, Object>)

View Source
Declaration
public override void Write(MarkdownViewBase instance, TextWriter textWriter, Dictionary<string, object> scopeArgs)
Parameters
TypeName
ServiceStack.Markdown.MarkdownViewBaseinstance
System.IO.TextWritertextWriter
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs

WriteStatement(MarkdownViewBase, TextWriter, Dictionary<String, Object>)

View Source
Declaration
protected void WriteStatement(MarkdownViewBase instance, TextWriter textWriter, Dictionary<string, object> scopeArgs)
Parameters
TypeName
ServiceStack.Markdown.MarkdownViewBaseinstance
System.IO.TextWritertextWriter
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs

Implements