Skip to main content

TemplateInfoFilters

Assembly: ServiceStack.dll
View Source
Declaration
[Obsolete("Use InfoScripts")]
public class TemplateInfoFilters : InfoScripts

Inherited Methods

env(String)

View Source
Declaration
public string env(string variable)
Returns

System.String

Parameters
TypeName
System.Stringvariable

envCommandLine()

View Source
Declaration
public string envCommandLine()
Returns

System.String

envCommandLineArgs()

View Source
Declaration
public string[] envCommandLineArgs()
Returns

System.String[]

envCurrentDirectory()

View Source
Declaration
public string envCurrentDirectory()
Returns

System.String

envExpandVariables(String)

View Source
Declaration
public string envExpandVariables(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

envIs64BitOperatingSystem()

View Source
Declaration
public bool envIs64BitOperatingSystem()
Returns

System.Boolean

envIs64BitProcess()

View Source
Declaration
public bool envIs64BitProcess()
Returns

System.Boolean

envIsAndroid()

View Source
Declaration
public bool envIsAndroid()
Returns

System.Boolean

envIsIOS()

View Source
Declaration
public bool envIsIOS()
Returns

System.Boolean

envIsLinux()

View Source
Declaration
public bool envIsLinux()
Returns

System.Boolean

envIsMono()

View Source
Declaration
public bool envIsMono()
Returns

System.Boolean

envIsOSX()

View Source
Declaration
public bool envIsOSX()
Returns

System.Boolean

envIsWindows()

View Source
Declaration
public bool envIsWindows()
Returns

System.Boolean

envLogicalDrives()

View Source
Declaration
public string[] envLogicalDrives()
Returns

System.String[]

envMachineName()

View Source
Declaration
public string envMachineName()
Returns

System.String

envOSVersion()

View Source
Declaration
public OperatingSystem envOSVersion()
Returns

System.OperatingSystem

envPathSeparator()

View Source
Declaration
public char envPathSeparator()
Returns

System.Char

envProcessorCount()

View Source
Declaration
public int envProcessorCount()
Returns

System.Int32

envServerUserAgent()

View Source
Declaration
public string envServerUserAgent()
Returns

System.String

envServiceStackVersion()

View Source
Declaration
public decimal envServiceStackVersion()
Returns

System.Decimal

envStackTrace()

View Source
Declaration
public string envStackTrace()
Returns

System.String

envSystemDirectory()

View Source
Declaration
public string envSystemDirectory()
Returns

System.String

envTickCount()

View Source
Declaration
public int envTickCount()
Returns

System.Int32

envUserDomainName()

View Source
Declaration
public string envUserDomainName()
Returns

System.String

envUserName()

View Source
Declaration
public string envUserName()
Returns

System.String

envVariable(String)

View Source
Declaration
public string envVariable(string variable)
Returns

System.String

Parameters
TypeName
System.Stringvariable

envVariables()

View Source
Declaration
public IDictionary envVariables()
Returns

System.Collections.IDictionary

envVersion()

View Source
Declaration
public Version envVersion()
Returns

System.Version

hostConfig(ScriptScopeContext)

View Source
Declaration
public HostConfig hostConfig(ScriptScopeContext scope)
Returns

ServiceStack.HostConfig

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

hostServiceName(ScriptScopeContext)

View Source
Declaration
public string hostServiceName(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

isUnix()

View Source
Declaration
public bool isUnix()
Returns

System.Boolean

isWin()

View Source
Declaration
public bool isWin()
Returns

System.Boolean

licensedFeatures()

View Source
Declaration
public string licensedFeatures()
Returns

System.String

metaAllDtoNames()

View Source
Declaration
public List<string> metaAllDtoNames()
Returns

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

metaAllDtos()

View Source
Declaration
public HashSet<Type> metaAllDtos()
Returns

System.Collections.Generic.HashSet<System.Type>

metaAllOperationNames()

View Source
Declaration
public List<string> metaAllOperationNames()
Returns

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

metaAllOperations()

View Source
Declaration
public IEnumerable<Operation> metaAllOperations()
Returns

System.Collections.Generic.IEnumerable<ServiceStack.Host.Operation>

metaAllOperationTypes()

View Source
Declaration
public List<Type> metaAllOperationTypes()
Returns

System.Collections.Generic.List<System.Type>

metaOperation(String)

View Source
Declaration
public Operation metaOperation(string name)
Returns

ServiceStack.Host.Operation

Parameters
TypeName
System.Stringname

networkIpv4Addresses()

View Source
Declaration
public List<IPAddress> networkIpv4Addresses()
Returns

System.Collections.Generic.List<System.Net.IPAddress>

networkIpv6Addresses()

View Source
Declaration
public List<IPAddress> networkIpv6Addresses()
Returns

System.Collections.Generic.List<System.Net.IPAddress>

plugins()

View Source
Declaration
public List<IPlugin> plugins()
Returns

System.Collections.Generic.List<ServiceStack.IPlugin>

userEmail(ScriptScopeContext)

View Source
Declaration
public string userEmail(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userHasPermission(ScriptScopeContext, String)

View Source
Declaration
public bool userHasPermission(ScriptScopeContext scope, string permission)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

userHasRole(ScriptScopeContext, String)

View Source
Declaration
public bool userHasRole(ScriptScopeContext scope, string role)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

userId(ScriptScopeContext)

View Source
Declaration
public string userId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userName(ScriptScopeContext)

View Source
Declaration
public string userName(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userPermanentSessionId(ScriptScopeContext)

View Source
Declaration
public string userPermanentSessionId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userSession(ScriptScopeContext)

View Source
Declaration
public IAuthSession userSession(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthSession

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userSessionId(ScriptScopeContext)

View Source
Declaration
public string userSessionId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userSessionOptions(ScriptScopeContext)

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

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

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userTempSessionId(ScriptScopeContext)

View Source
Declaration
public string userTempSessionId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope