Skip to main content

TextBlock

Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class TextBlock : TemplateBlock, ITemplateWriter

Properties

Content

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

Inherited Properties

Evaluator

View Source
Declaration
protected Evaluator Evaluator { get; set; }

IsNested

View Source
Declaration
public bool IsNested { get; set; }

Page

View Source
Declaration
protected MarkdownPage Page { get; set; }

RenderHtml

View Source
Declaration
protected bool RenderHtml { get; set; }

ScopeArgs

View Source
Declaration
protected Dictionary<string, object> ScopeArgs { get; set; }

WriteRawHtml

View Source
Declaration
protected bool WriteRawHtml { get; set; }

Methods

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

AddEvalItem(EvaluatorItem)

View Source
Declaration
public void AddEvalItem(EvaluatorItem evalItem)
Parameters
TypeName
ServiceStack.Support.Markdown.EvaluatorItemevalItem

AfterFirstRun(Evaluator)

View Source
Declaration
public void AfterFirstRun(Evaluator evaluator)
Parameters
TypeName
ServiceStack.Support.Markdown.Evaluatorevaluator

CleanHtml(String)

View Source
Declaration
public static string CleanHtml(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

CreatePageContext()

View Source
Declaration
protected PageContext CreatePageContext()
Returns

ServiceStack.Support.Markdown.PageContext

DoFirstRun(PageContext)

View Source
Declaration
public void DoFirstRun(PageContext pageContext)
Parameters
TypeName
ServiceStack.Support.Markdown.PageContextpageContext

OnAfterFirstRun()

View Source
Declaration
protected virtual void OnAfterFirstRun()

OnFirstRun()

View Source
Declaration
protected virtual void OnFirstRun()

Transform(String)

View Source
Declaration
public string Transform(string markdownText)
Returns

System.String

Parameters
TypeName
System.StringmarkdownText

TransformHtml(String)

View Source
Declaration
public string TransformHtml(string markdownText)
Returns

System.String

Parameters
TypeName
System.StringmarkdownText

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

View Source
Declaration
public abstract 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

Implements