Skip to main content

MethodStatementExprBlock

Assembly: ServiceStack.Razor.dll​
View Source​
Declaration
public class MethodStatementExprBlock : EvalExprStatementBase, ITemplateWriter

Properties​

DependentPageName​

View Source​
Declaration
public string DependentPageName { get; }

Inherited Properties​

CodeGenMethodName​

View Source​
Declaration
protected string CodeGenMethodName { 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​

Evaluate<T>(Dictionary<String, Object>)​

View Source​
Declaration
public T Evaluate<T>(Dictionary<string, object> scopeArgs)
Returns​

<T>

Parameters​
TypeName
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs
Type Parameters​
  • T

Evaluate<T>(Dictionary<String, Object>, Boolean)​

View Source​
Declaration
public T Evaluate<T>(Dictionary<string, object> scopeArgs, bool defaultToNullValues)
Returns​

<T>

Parameters​
TypeName
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs
System.BooleandefaultToNullValues
Type Parameters​
  • T

GetExprParams()​

View Source​
Declaration
protected Dictionary<string, Type> GetExprParams()
Returns​

System.Collections.Generic.Dictionary<System.String,System.Type>

GetParamNames(Dictionary<String, Object>)​

View Source​
Declaration
public string[] GetParamNames(Dictionary<string, object> scopeArgs)
Returns​

System.String[]

Parameters​
TypeName
System.Collections.Generic.Dictionary<System.String,System.Object>scopeArgs

GetParamValues(IDictionary<String, Object>)​

View Source​
Declaration
protected List<object> GetParamValues(IDictionary<string, object> scopeArgs)
Returns​

System.Collections.Generic.List<System.Object>

Parameters​
TypeName
System.Collections.Generic.IDictionary<System.String,System.Object>scopeArgs

GetParamValues(IDictionary<String, Object>, Boolean)​

View Source​
Declaration
protected List<object> GetParamValues(IDictionary<string, object> scopeArgs, bool defaultToNullValues)
Returns​

System.Collections.Generic.List<System.Object>

Parameters​
TypeName
System.Collections.Generic.IDictionary<System.String,System.Object>scopeArgs
System.BooleandefaultToNullValues

OnFirstRun()​

View Source​
Declaration
protected override void OnFirstRun()

Implements​