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
Type | Name |
---|---|
ServiceStack.Markdown.MarkdownViewBase | instance |
System.IO.TextWriter | textWriter |
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
Type | Name |
---|---|
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
Type | Name |
---|---|
System.Collections.Generic.Dictionary<System.String,System.Object> | scopeArgs |
System.Boolean | defaultToNullValues |
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
Type | Name |
---|---|
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
Type | Name |
---|---|
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
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.String,System.Object> | scopeArgs |
System.Boolean | defaultToNullValues |
OnFirstRun()
View Source
Declaration
protected override void OnFirstRun()