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
Type | Name |
---|---|
ServiceStack.Markdown.MarkdownViewBase | instance |
System.IO.TextWriter | textWriter |
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
Type | Name |
---|---|
System.String | content |
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
Type | Name |
---|---|
System.Boolean | applyToChildren |
Prepare(List<StatementExprBlock>)
View Source
Declaration
protected virtual void Prepare(List<StatementExprBlock> allStatements)
Parameters
Type | Name |
---|---|
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
Type | Name |
---|---|
ServiceStack.Markdown.MarkdownViewBase | instance |
System.IO.TextWriter | textWriter |
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
Type | Name |
---|---|
ServiceStack.Markdown.MarkdownViewBase | instance |
System.IO.TextWriter | textWriter |
System.Collections.Generic.Dictionary<System.String,System.Object> | scopeArgs |