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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
validationSummary(ScriptScopeContext, IEnumerable)
View Source
Declaration
public IRawString validationSummary(ScriptScopeContext scope, IEnumerable exceptFields)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Collections.IEnumerable | exceptFields |
validationSummary(ScriptScopeContext, IEnumerable, Object)
View Source
Declaration
public IRawString validationSummary(ScriptScopeContext scope, IEnumerable exceptFields, object htmlAttrs)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Collections.IEnumerable | exceptFields |
System.Object | htmlAttrs |
ValidationSuccess(ScriptScopeContext, String)
View Source
Declaration
public IRawString ValidationSuccess(ScriptScopeContext scope, string message)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.String | message |
ValidationSuccess(ScriptScopeContext, String, Dictionary<String, Object>)
View Source
Declaration
public IRawString ValidationSuccess(ScriptScopeContext scope, string message, Dictionary<string, object> divAttrs)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.String | message |
System.Collections.Generic.Dictionary<System.String,System.Object> | divAttrs |
formTextarea(ScriptScopeContext, Object)
View Source
Declaration
public IRawString formTextarea(ScriptScopeContext scope, object args)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | args |
formTextarea(ScriptScopeContext, Object, Object)
View Source
Declaration
public IRawString formTextarea(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | inputAttrs |
System.Object | inputOptions |
formSelect(ScriptScopeContext, Object)
View Source
Declaration
public IRawString formSelect(ScriptScopeContext scope, object args)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | args |
formSelect(ScriptScopeContext, Object, Object)
View Source
Declaration
public IRawString formSelect(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | inputAttrs |
System.Object | inputOptions |
formInput(ScriptScopeContext, Object)
View Source
Declaration
public IRawString formInput(ScriptScopeContext scope, object args)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | args |
formInput(ScriptScopeContext, Object, Object)
View Source
Declaration
public IRawString formInput(ScriptScopeContext scope, object inputAttrs, object inputOptions)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | inputAttrs |
System.Object | inputOptions |
formControl(ScriptScopeContext, Object, String, Object)
View Source
Declaration
public IRawString formControl(ScriptScopeContext scope, object inputAttrs, string tagName, object inputOptions)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.Object | inputAttrs |
System.String | tagName |
System.Object | inputOptions |
nav(ScriptScopeContext)
View Source
Declaration
public IRawString nav(ScriptScopeContext scope)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
nav(ScriptScopeContext, List<NavItem>)
View Source
Declaration
public IRawString nav(ScriptScopeContext scope, List<NavItem> navItems)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
navbar(ScriptScopeContext, List<NavItem>)
View Source
Declaration
public IRawString navbar(ScriptScopeContext scope, List<NavItem> navItems)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
ServiceStack.NavItem | navItem |
navLink(ScriptScopeContext, NavItem, Dictionary<String, Object>)
View Source
Declaration
public IRawString navLink(ScriptScopeContext scope, NavItem navItem, Dictionary<string, object> options)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
ServiceStack.NavItem | navItem |
System.Collections.Generic.Dictionary<System.String,System.Object> | options |
navButtonGroup(ScriptScopeContext)
View Source
Declaration
public IRawString navButtonGroup(ScriptScopeContext scope)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
navButtonGroup(ScriptScopeContext, List<NavItem>)
View Source
Declaration
public IRawString navButtonGroup(ScriptScopeContext scope, List<NavItem> navItems)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
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
Parameters
Type | Name |
---|---|
System.String | name |
System.Int32 | argsCount |
ServiceStack.Script.InvokerType | type |
QueryFilters(String)
View Source
Declaration
public List<MethodInfo> QueryFilters(string filterName)
Returns
System.Collections.Generic.List<System.Reflection.MethodInfo>
Parameters
Type | Name |
---|---|
System.String | filterName |