Skip to main content

ServiceStackScripts

Assembly: ServiceStack.dll
View Source
Declaration
public class ServiceStackScripts : ScriptMethods, IConfigureScriptContext

Properties

RemoveNewLinesFor

View Source
Declaration
public static List<string> RemoveNewLinesFor { get; }

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; }

Fields

Log

View Source
Declaration
public static ILog Log

Methods

Configure(ScriptContext)

View Source
Declaration
public void Configure(ScriptContext context)
Parameters
TypeName
ServiceStack.Script.ScriptContextcontext

vfsContent()

View Source
Declaration
public IVirtualFiles vfsContent()
Returns

ServiceStack.IO.IVirtualFiles

hostVfsMemory()

View Source
Declaration
public MemoryVirtualFiles hostVfsMemory()
Returns

ServiceStack.IO.MemoryVirtualFiles

hostVfsFileSystem()

View Source
Declaration
public FileSystemVirtualFiles hostVfsFileSystem()
Returns

ServiceStack.IO.FileSystemVirtualFiles

hostVfsGist()

View Source
Declaration
public GistVirtualFiles hostVfsGist()
Returns

ServiceStack.IO.GistVirtualFiles

httpRequest(ScriptScopeContext)

View Source
Declaration
public IHttpRequest httpRequest(ScriptScopeContext scope)
Returns

ServiceStack.Web.IHttpRequest

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

requestItem(ScriptScopeContext, String)

View Source
Declaration
public object requestItem(ScriptScopeContext scope, string key)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringkey

baseUrl(ScriptScopeContext)

View Source
Declaration
public object baseUrl(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

resolveUrl(ScriptScopeContext, String)

View Source
Declaration
public object resolveUrl(ScriptScopeContext scope, string virtualPath)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringvirtualPath

serviceUrl(ScriptScopeContext, String)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

serviceUrl(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName, Dictionary<string, object> properties)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Collections.Generic.Dictionary<System.String,System.Object>properties

serviceUrl(ScriptScopeContext, String, Dictionary<String, Object>, String)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName, Dictionary<string, object> properties, string httpMethod)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Collections.Generic.Dictionary<System.String,System.Object>properties
System.StringhttpMethod

execService(ScriptScopeContext, String)

View Source
Declaration
public object execService(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

execService(ScriptScopeContext, String, Object)

View Source
Declaration
public object execService(ScriptScopeContext scope, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectoptions

sendToGateway(ScriptScopeContext, String)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

sendToGateway(ScriptScopeContext, Object, String)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

sendToGateway(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

publishToGateway(ScriptScopeContext, String)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

publishToGateway(ScriptScopeContext, Object, String)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

publishToGateway(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

publishMessage(ScriptScopeContext, String, Object)

View Source
Declaration
public IgnoreResult publishMessage(ScriptScopeContext scope, string requestName, object dto)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectdto

publishMessage(ScriptScopeContext, String, Object, Object)

View Source
Declaration
public IgnoreResult publishMessage(ScriptScopeContext scope, string requestName, object dto, object options)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectdto
System.Objectoptions

sendToAutoQuery(ScriptScopeContext, String)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

sendToAutoQuery(ScriptScopeContext, Object, String)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

sendToAutoQuery(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

toResults(Object)

View Source
Declaration
public object toResults(object dto)
Returns

System.Object

Parameters
TypeName
System.Objectdto

getUserSession(ScriptScopeContext)

View Source
Declaration
public object getUserSession(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userSession(ScriptScopeContext)

View Source
Declaration
public IAuthSession userSession(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthSession

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

sessionIfAuthenticated(ScriptScopeContext)

View Source
Declaration
public IAuthSession sessionIfAuthenticated(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthSession

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userAuthId(ScriptScopeContext)

View Source
Declaration
public string userAuthId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userAuthName(ScriptScopeContext)

View Source
Declaration
public string userAuthName(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userProfileUrl(ScriptScopeContext)

View Source
Declaration
public string userProfileUrl(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userAttributes(ScriptScopeContext)

View Source
Declaration
public HashSet<string> userAttributes(ScriptScopeContext scope)
Returns

System.Collections.Generic.HashSet<System.String>

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

isAuthenticated(ScriptScopeContext)

View Source
Declaration
public bool isAuthenticated(ScriptScopeContext scope)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

isAuthenticated(ScriptScopeContext, String)

View Source
Declaration
public bool isAuthenticated(ScriptScopeContext scope, string provider)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringprovider

redirectTo(ScriptScopeContext, String)

View Source
Declaration
public object redirectTo(ScriptScopeContext scope, string path)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpath

redirectIfNotAuthenticated(ScriptScopeContext)

View Source
Declaration
public object redirectIfNotAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

redirectIfNotAuthenticated(ScriptScopeContext, String)

View Source
Declaration
public object redirectIfNotAuthenticated(ScriptScopeContext scope, string path)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpath

hasRole(ScriptScopeContext, String)

View Source
Declaration
public object hasRole(ScriptScopeContext scope, string role)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

hasPermission(ScriptScopeContext, String)

View Source
Declaration
public object hasPermission(ScriptScopeContext scope, string permission)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

assertRole(ScriptScopeContext, String)

View Source
Declaration
public object assertRole(ScriptScopeContext scope, string role)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

assertRole(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public object assertRole(ScriptScopeContext scope, string role, Dictionary<string, object> options)
Returns

System.Object

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

assertPermission(ScriptScopeContext, String)

View Source
Declaration
public object assertPermission(ScriptScopeContext scope, string permission)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

assertPermission(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public object assertPermission(ScriptScopeContext scope, string permission, Dictionary<string, object> options)
Returns

System.Object

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

ifAuthenticated(ScriptScopeContext)

View Source
Declaration
public object ifAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

ifNotAuthenticated(ScriptScopeContext)

View Source
Declaration
public object ifNotAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

onlyIfAuthenticated(ScriptScopeContext, Object)

View Source
Declaration
public object onlyIfAuthenticated(ScriptScopeContext scope, object value)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectvalue

endIfAuthenticated(ScriptScopeContext, Object)

View Source
Declaration
public object endIfAuthenticated(ScriptScopeContext scope, object value)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectvalue

authRepo(ScriptScopeContext)

View Source
Declaration
public IAuthRepository authRepo(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthRepository

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

newUserAuth(IAuthRepository)

View Source
Declaration
public IUserAuth newUserAuth(IAuthRepository authRepo)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

newUserAuthDetails(IAuthRepository)

View Source
Declaration
public IUserAuthDetails newUserAuthDetails(IAuthRepository authRepo)
Returns

ServiceStack.Auth.IUserAuthDetails

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

getUserAuth(IAuthRepository, String)

View Source
Declaration
public IUserAuth getUserAuth(IAuthRepository authRepo, string userAuthId)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserAuthId

getUserAuthByUserName(IAuthRepository, String)

View Source
Declaration
public IUserAuth getUserAuthByUserName(IAuthRepository authRepo, string userNameOrEmail)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserNameOrEmail

tryAuthenticate(ScriptScopeContext, IAuthRepository, String, String)

View Source
Declaration
public IUserAuth tryAuthenticate(ScriptScopeContext scope, IAuthRepository authRepo, string userName, string password)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserName
System.Stringpassword

createUserAuth(IAuthRepository, IUserAuth, String)

View Source
Declaration
public IUserAuth createUserAuth(IAuthRepository authRepo, IUserAuth newUser, string password)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword

saveUserAuth(IAuthRepository, IUserAuth)

View Source
Declaration
public IgnoreResult saveUserAuth(IAuthRepository authRepo, IUserAuth userAuth)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthuserAuth

updateUserAuth(IAuthRepository, IUserAuth, IUserAuth)

View Source
Declaration
public IUserAuth updateUserAuth(IAuthRepository authRepo, IUserAuth existingUser, IUserAuth newUser)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser

updateUserAuth(IAuthRepository, IUserAuth, IUserAuth, String)

View Source
Declaration
public IgnoreResult updateUserAuth(IAuthRepository authRepo, IUserAuth existingUser, IUserAuth newUser, string password)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword

deleteUserAuth(IAuthRepository, String)

View Source
Declaration
public IgnoreResult deleteUserAuth(IAuthRepository authRepo, string userAuthId)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserAuthId

getUserAuths(IAuthRepository)

View Source
Declaration
public List<IUserAuth> getUserAuths(IAuthRepository authRepo)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

getUserAuths(IAuthRepository, Dictionary<String, Object>)

View Source
Declaration
public List<IUserAuth> getUserAuths(IAuthRepository authRepo, Dictionary<string, object> options)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.Collections.Generic.Dictionary<System.String,System.Object>options

searchUserAuths(IAuthRepository, Dictionary<String, Object>)

View Source
Declaration
public List<IUserAuth> searchUserAuths(IAuthRepository authRepo, Dictionary<string, object> options)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.Collections.Generic.Dictionary<System.String,System.Object>options

getHttpResult(ScriptScopeContext, Object)

View Source
Declaration
public IHttpResult getHttpResult(ScriptScopeContext scope, object options)
Returns

ServiceStack.Web.IHttpResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectoptions

httpResult(ScriptScopeContext, Object)

View Source
Declaration
public HttpResult httpResult(ScriptScopeContext scope, object options)
Returns

ServiceStack.HttpResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectoptions

ToHttpResult(Dictionary<String, Object>)

View Source
Declaration
public static HttpResult ToHttpResult(Dictionary<string, object> args)
Returns

ServiceStack.HttpResult

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

hasErrorStatus(ScriptScopeContext)

View Source
Declaration
public bool hasErrorStatus(ScriptScopeContext scope)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

getErrorStatus(ScriptScopeContext)

View Source
Declaration
public ResponseStatus getErrorStatus(ScriptScopeContext scope)
Returns

ServiceStack.ResponseStatus

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

formValue(ScriptScopeContext, String)

Only return form input value if form submission was invalid

View Source
Declaration
public string formValue(ScriptScopeContext scope, string name)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

formValue(ScriptScopeContext, String, String)

View Source
Declaration
public string formValue(ScriptScopeContext scope, string name, string defaultValue)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname
System.StringdefaultValue

formValues(ScriptScopeContext, String)

View Source
Declaration
public string[] formValues(ScriptScopeContext scope, string name)
Returns

System.String[]

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

formCheckValue(ScriptScopeContext, String)

View Source
Declaration
public bool formCheckValue(ScriptScopeContext scope, string name)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

errorResponseSummary(ScriptScopeContext)

View Source
Declaration
public string errorResponseSummary(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

errorResponseSummary(ScriptScopeContext, ResponseStatus)

View Source
Declaration
public string errorResponseSummary(ScriptScopeContext scope, ResponseStatus errorStatus)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus

errorResponseExcept(ScriptScopeContext, IEnumerable)

View Source
Declaration
public string errorResponseExcept(ScriptScopeContext scope, IEnumerable fields)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.IEnumerablefields

errorResponseExcept(ScriptScopeContext, ResponseStatus, IEnumerable)

View Source
Declaration
public string errorResponseExcept(ScriptScopeContext scope, ResponseStatus errorStatus, IEnumerable fields)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus
System.Collections.IEnumerablefields

errorResponse(ScriptScopeContext)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

errorResponse(ScriptScopeContext, String)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope, string fieldName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringfieldName

errorResponse(ScriptScopeContext, ResponseStatus, String)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope, ResponseStatus errorStatus, string fieldName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus
System.StringfieldName

bundleJs(Object)

View Source
Declaration
public IRawString bundleJs(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleJs(Object, Object)

View Source
Declaration
public IRawString bundleJs(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

bundleCss(Object)

View Source
Declaration
public IRawString bundleCss(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleCss(Object, Object)

View Source
Declaration
public IRawString bundleCss(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

bundleHtml(Object)

View Source
Declaration
public IRawString bundleHtml(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleHtml(Object, Object)

View Source
Declaration
public IRawString bundleHtml(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

serviceStackLogoSvg(String)

View Source
Declaration
public IRawString serviceStackLogoSvg(string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringcolor

serviceStackLogoSvg()

View Source
Declaration
public IRawString serviceStackLogoSvg()
Returns

ServiceStack.IRawString

serviceStackLogoDataUri(String)

View Source
Declaration
public IRawString serviceStackLogoDataUri(string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringcolor

serviceStackLogoDataUri()

View Source
Declaration
public IRawString serviceStackLogoDataUri()
Returns

ServiceStack.IRawString

serviceStackLogoDataUriLight()

View Source
Declaration
public IRawString serviceStackLogoDataUriLight()
Returns

ServiceStack.IRawString

svgImage(String)

View Source
Declaration
public IRawString svgImage(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgImage(String, String)

View Source
Declaration
public IRawString svgImage(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgDataUri(String)

View Source
Declaration
public IRawString svgDataUri(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgDataUri(String, String)

View Source
Declaration
public IRawString svgDataUri(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgBackgroundImageCss(String)

View Source
Declaration
public IRawString svgBackgroundImageCss(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgBackgroundImageCss(String, String)

View Source
Declaration
public IRawString svgBackgroundImageCss(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgInBackgroundImageCss(String)

View Source
Declaration
public IRawString svgInBackgroundImageCss(string svg)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringsvg

svgFill(String, String)

View Source
Declaration
public IRawString svgFill(string svg, string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringsvg
System.Stringcolor

svgBaseUrl(ScriptScopeContext)

View Source
Declaration
public string svgBaseUrl(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

svgImages()

View Source
Declaration
public Dictionary<string, string> svgImages()
Returns

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

svgDataUris()

View Source
Declaration
public Dictionary<string, string> svgDataUris()
Returns

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

svgCssFiles()

View Source
Declaration
public Dictionary<string, List<string>> svgCssFiles()
Returns

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

svgAdd(String, String)

View Source
Declaration
public IgnoreResult svgAdd(string svg, string name)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
System.Stringsvg
System.Stringname

svgAdd(String, String, String)

View Source
Declaration
public IgnoreResult svgAdd(string svg, string name, string cssFile)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
System.Stringsvg
System.Stringname
System.StringcssFile

svgAddFile(ScriptScopeContext, String, String)

View Source
Declaration
public IgnoreResult svgAddFile(ScriptScopeContext scope, string svgPath, string name)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringsvgPath
System.Stringname

svgAddFile(ScriptScopeContext, String, String, String)

View Source
Declaration
public IgnoreResult svgAddFile(ScriptScopeContext scope, string svgPath, string name, string cssFile)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringsvgPath
System.Stringname
System.StringcssFile

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

Implements