Skip to main content

InfoScripts

Assembly: ServiceStack.dll​
View Source​
Declaration
public class InfoScripts : 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​

env(String)​

View Source​
Declaration
public string env(string variable)
Returns​

System.String

Parameters​
TypeName
System.Stringvariable

envVariable(String)​

View Source​
Declaration
public string envVariable(string variable)
Returns​

System.String

Parameters​
TypeName
System.Stringvariable

envExpandVariables(String)​

View Source​
Declaration
public string envExpandVariables(string name)
Returns​

System.String

Parameters​
TypeName
System.Stringname

envStackTrace()​

View Source​
Declaration
public string envStackTrace()
Returns​

System.String

envProcessorCount()​

View Source​
Declaration
public int envProcessorCount()
Returns​

System.Int32

envTickCount()​

View Source​
Declaration
public int envTickCount()
Returns​

System.Int32

envServerUserAgent()​

View Source​
Declaration
public string envServerUserAgent()
Returns​

System.String

envServiceStackVersion()​

View Source​
Declaration
public decimal envServiceStackVersion()
Returns​

System.Decimal

envIsMono()​

View Source​
Declaration
public bool envIsMono()
Returns​

System.Boolean

envIsAndroid()​

View Source​
Declaration
public bool envIsAndroid()
Returns​

System.Boolean

envIsIOS()​

View Source​
Declaration
public bool envIsIOS()
Returns​

System.Boolean

licensedFeatures()​

View Source​
Declaration
public string licensedFeatures()
Returns​

System.String

envCurrentDirectory()​

View Source​
Declaration
public string envCurrentDirectory()
Returns​

System.String

envIsWindows()​

View Source​
Declaration
public bool envIsWindows()
Returns​

System.Boolean

isWin()​

View Source​
Declaration
public bool isWin()
Returns​

System.Boolean

isUnix()​

View Source​
Declaration
public bool isUnix()
Returns​

System.Boolean

envIsLinux()​

View Source​
Declaration
public bool envIsLinux()
Returns​

System.Boolean

envIsOSX()​

View Source​
Declaration
public bool envIsOSX()
Returns​

System.Boolean

envVariables()​

View Source​
Declaration
public IDictionary envVariables()
Returns​

System.Collections.IDictionary

envOSVersion()​

View Source​
Declaration
public OperatingSystem envOSVersion()
Returns​

System.OperatingSystem

envCommandLine()​

View Source​
Declaration
public string envCommandLine()
Returns​

System.String

envCommandLineArgs()​

View Source​
Declaration
public string[] envCommandLineArgs()
Returns​

System.String[]

envMachineName()​

View Source​
Declaration
public string envMachineName()
Returns​

System.String

envSystemDirectory()​

View Source​
Declaration
public string envSystemDirectory()
Returns​

System.String

envUserDomainName()​

View Source​
Declaration
public string envUserDomainName()
Returns​

System.String

envUserName()​

View Source​
Declaration
public string envUserName()
Returns​

System.String

envIs64BitOperatingSystem()​

View Source​
Declaration
public bool envIs64BitOperatingSystem()
Returns​

System.Boolean

envIs64BitProcess()​

View Source​
Declaration
public bool envIs64BitProcess()
Returns​

System.Boolean

envVersion()​

View Source​
Declaration
public Version envVersion()
Returns​

System.Version

envLogicalDrives()​

View Source​
Declaration
public string[] envLogicalDrives()
Returns​

System.String[]

envPathSeparator()​

View Source​
Declaration
public char envPathSeparator()
Returns​

System.Char

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>

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

userTempSessionId(ScriptScopeContext)​

View Source​
Declaration
public string userTempSessionId(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

userSessionOptions(ScriptScopeContext)​

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

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

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

userHasRole(ScriptScopeContext, String)​

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

System.Boolean

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

userHasPermission(ScriptScopeContext, String)​

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

System.Boolean

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

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

userEmail(ScriptScopeContext)​

View Source​
Declaration
public string userEmail(ScriptScopeContext scope)
Returns​

System.String

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

hostServiceName(ScriptScopeContext)​

View Source​
Declaration
public string hostServiceName(ScriptScopeContext scope)
Returns​

System.String

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

hostConfig(ScriptScopeContext)​

View Source​
Declaration
public HostConfig hostConfig(ScriptScopeContext scope)
Returns​

ServiceStack.HostConfig

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

metaAllDtos()​

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

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

metaAllDtoNames()​

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

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

metaAllOperations()​

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

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

metaAllOperationNames()​

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

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

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

plugins()​

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

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

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