Skip to main content

BootstrapScripts

Assembly: ServiceStack.dll​
View Source​
Declaration
public class BootstrapScripts : ScriptMethods

Inherited Properties​

Context​

View Source​
Declaration
public ScriptContext Context { get; set; }

InvokerCache​

View Source​
Declaration
public ConcurrentDictionary<string, MethodInvoker> InvokerCache { get; }

Pages​

View Source​
Declaration
public ISharpPages Pages { get; set; }

Methods​

validationSummary(ScriptScopeContext)​

View Source​
Declaration
public IRawString validationSummary(ScriptScopeContext scope)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

validationSummary(ScriptScopeContext, IEnumerable)​

View Source​
Declaration
public IRawString validationSummary(ScriptScopeContext scope, IEnumerable exceptFields)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.IEnumerableexceptFields

validationSummary(ScriptScopeContext, IEnumerable, Object)​

View Source​
Declaration
public IRawString validationSummary(ScriptScopeContext scope, IEnumerable exceptFields, object htmlAttrs)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.IEnumerableexceptFields
System.ObjecthtmlAttrs

ValidationSuccess(ScriptScopeContext, String)​

View Source​
Declaration
public IRawString ValidationSuccess(ScriptScopeContext scope, string message)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringmessage

ValidationSuccess(ScriptScopeContext, String, Dictionary<String, Object>)​

View Source​
Declaration
public IRawString ValidationSuccess(ScriptScopeContext scope, string message, Dictionary<string, object> divAttrs)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringmessage
System.Collections.Generic.Dictionary<System.String,System.Object>divAttrs

formTextarea(ScriptScopeContext, Object)​

View Source​
Declaration
public IRawString formTextarea(ScriptScopeContext scope, object args)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectargs

formTextarea(ScriptScopeContext, Object, Object)​

View Source​
Declaration
public IRawString formTextarea(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.ObjectinputAttrs
System.ObjectinputOptions

formSelect(ScriptScopeContext, Object)​

View Source​
Declaration
public IRawString formSelect(ScriptScopeContext scope, object args)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectargs

formSelect(ScriptScopeContext, Object, Object)​

View Source​
Declaration
public IRawString formSelect(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.ObjectinputAttrs
System.ObjectinputOptions

formInput(ScriptScopeContext, Object)​

View Source​
Declaration
public IRawString formInput(ScriptScopeContext scope, object args)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectargs

formInput(ScriptScopeContext, Object, Object)​

View Source​
Declaration
public IRawString formInput(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.ObjectinputAttrs
System.ObjectinputOptions

formControl(ScriptScopeContext, Object, String, Object)​

View Source​
Declaration
public IRawString formControl(ScriptScopeContext scope, object inputAttrs, string tagName, object inputOptions)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.ObjectinputAttrs
System.StringtagName
System.ObjectinputOptions

nav(ScriptScopeContext)​

View Source​
Declaration
public IRawString nav(ScriptScopeContext scope)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

nav(ScriptScopeContext, List<NavItem>)​

View Source​
Declaration
public IRawString nav(ScriptScopeContext scope, List<NavItem> navItems)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems

nav(ScriptScopeContext, List<NavItem>, Dictionary<String, Object>)​

View Source​
Declaration
public IRawString nav(ScriptScopeContext scope, List<NavItem> navItems, Dictionary<string, object> options)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems
System.Collections.Generic.Dictionary<System.String,System.Object>options

navbar(ScriptScopeContext)​

View Source​
Declaration
public IRawString navbar(ScriptScopeContext scope)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

navbar(ScriptScopeContext, List<NavItem>)​

View Source​
Declaration
public IRawString navbar(ScriptScopeContext scope, List<NavItem> navItems)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems

navbar(ScriptScopeContext, List<NavItem>, Dictionary<String, Object>)​

View Source​
Declaration
public IRawString navbar(ScriptScopeContext scope, List<NavItem> navItems, Dictionary<string, object> options)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems
System.Collections.Generic.Dictionary<System.String,System.Object>options

navLink(ScriptScopeContext, NavItem)​

View Source​
Declaration
public IRawString navLink(ScriptScopeContext scope, NavItem navItem)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.NavItemnavItem

navLink(ScriptScopeContext, NavItem, Dictionary<String, Object>)​

View Source​
Declaration
public IRawString navLink(ScriptScopeContext scope, NavItem navItem, Dictionary<string, object> options)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.NavItemnavItem
System.Collections.Generic.Dictionary<System.String,System.Object>options

navButtonGroup(ScriptScopeContext)​

View Source​
Declaration
public IRawString navButtonGroup(ScriptScopeContext scope)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

navButtonGroup(ScriptScopeContext, List<NavItem>)​

View Source​
Declaration
public IRawString navButtonGroup(ScriptScopeContext scope, List<NavItem> navItems)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems

navButtonGroup(ScriptScopeContext, List<NavItem>, Dictionary<String, Object>)​

View Source​
Declaration
public IRawString navButtonGroup(ScriptScopeContext scope, List<NavItem> navItems, Dictionary<string, object> options)
Returns​

ServiceStack.IRawString

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.Generic.List<ServiceStack.NavItem>navItems
System.Collections.Generic.Dictionary<System.String,System.Object>options

Inherited Methods​

GetInvoker(String, Int32, InvokerType)​

View Source​
Declaration
public MethodInvoker GetInvoker(string name, int argsCount, InvokerType type)
Returns​

ServiceStack.MethodInvoker

Parameters​
TypeName
System.Stringname
System.Int32argsCount
ServiceStack.Script.InvokerTypetype

QueryFilters(String)​

View Source​
Declaration
public List<MethodInfo> QueryFilters(string filterName)
Returns​

System.Collections.Generic.List<System.Reflection.MethodInfo>

Parameters​
TypeName
System.StringfilterName