TemplateInfoFilters
Assembly: ServiceStack.dll
View Source
[Obsolete("Use InfoScripts")]
public class TemplateInfoFilters : InfoScripts
Inherited Methods
env(String)
View Source
public string env(string variable)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | variable |
envCommandLine()
View Source
public string envCommandLine()
Returns
System.String
envCommandLineArgs()
View Source
public string[] envCommandLineArgs()
Returns
System.String[]
envCurrentDirectory()
View Source
public string envCurrentDirectory()
Returns
System.String
envExpandVariables(String)
View Source
public string envExpandVariables(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
envIs64BitOperatingSystem()
View Source
public bool envIs64BitOperatingSystem()
Returns
System.Boolean
envIs64BitProcess()
View Source
public bool envIs64BitProcess()
Returns
System.Boolean
envIsAndroid()
View Source
public bool envIsAndroid()
Returns
System.Boolean
envIsIOS()
View Source
public bool envIsIOS()
Returns
System.Boolean
envIsLinux()
View Source
public bool envIsLinux()
Returns
System.Boolean
envIsMono()
View Source
public bool envIsMono()
Returns
System.Boolean
envIsOSX()
View Source
public bool envIsOSX()
Returns
System.Boolean
envIsWindows()
View Source
public bool envIsWindows()
Returns
System.Boolean
envLogicalDrives()
View Source
public string[] envLogicalDrives()
Returns
System.String[]
envMachineName()
View Source
public string envMachineName()
Returns
System.String
envOSVersion()
View Source
public OperatingSystem envOSVersion()
Returns
System.OperatingSystem
envPathSeparator()
View Source
public char envPathSeparator()
Returns
System.Char
envProcessorCount()
View Source
public int envProcessorCount()
Returns
System.Int32
envServerUserAgent()
View Source
public string envServerUserAgent()
Returns
System.String
envServiceStackVersion()
View Source
public decimal envServiceStackVersion()
Returns
System.Decimal
envStackTrace()
View Source
public string envStackTrace()
Returns
System.String
envSystemDirectory()
View Source
public string envSystemDirectory()
Returns
System.String
envTickCount()
View Source
public int envTickCount()
Returns
System.Int32
envUserDomainName()
View Source
public string envUserDomainName()
Returns
System.String
envUserName()
View Source
public string envUserName()
Returns
System.String
envVariable(String)
View Source
public string envVariable(string variable)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | variable |
envVariables()
View Source
public IDictionary envVariables()
Returns
System.Collections.IDictionary
envVersion()
View Source
public Version envVersion()
Returns
System.Version
hostConfig(ScriptScopeContext)
View Source
public HostConfig hostConfig(ScriptScopeContext scope)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
hostServiceName(ScriptScopeContext)
View Source
public string hostServiceName(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
isUnix()
View Source
public bool isUnix()
Returns
System.Boolean
isWin()
View Source
public bool isWin()
Returns
System.Boolean
licensedFeatures()
View Source
public string licensedFeatures()
Returns
System.String
metaAllDtoNames()
View Source
public List<string> metaAllDtoNames()
Returns
System.Collections.Generic.List<System.String>
metaAllDtos()
View Source
public HashSet<Type> metaAllDtos()
Returns
System.Collections.Generic.HashSet<System.Type>
metaAllOperationNames()
View Source
public List<string> metaAllOperationNames()
Returns
System.Collections.Generic.List<System.String>
metaAllOperations()
View Source
public IEnumerable<Operation> metaAllOperations()
Returns
System.Collections.Generic.IEnumerable<ServiceStack.Host.Operation>
metaAllOperationTypes()
View Source
public List<Type> metaAllOperationTypes()
Returns
System.Collections.Generic.List<System.Type>
metaOperation(String)
View Source
public Operation metaOperation(string name)
Returns
Parameters
Type | Name |
---|---|
System.String | name |
networkIpv4Addresses()
View Source
public List<IPAddress> networkIpv4Addresses()
Returns
System.Collections.Generic.List<System.Net.IPAddress>
networkIpv6Addresses()
View Source
public List<IPAddress> networkIpv6Addresses()
Returns
System.Collections.Generic.List<System.Net.IPAddress>
plugins()
View Source
public List<IPlugin> plugins()
Returns
System.Collections.Generic.List<ServiceStack.IPlugin>
userEmail(ScriptScopeContext)
View Source
public string userEmail(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userHasPermission(ScriptScopeContext, String)
View Source
public bool userHasPermission(ScriptScopeContext scope, string permission)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.String | permission |
userHasRole(ScriptScopeContext, String)
View Source
public bool userHasRole(ScriptScopeContext scope, string role)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
System.String | role |
userId(ScriptScopeContext)
View Source
public string userId(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userName(ScriptScopeContext)
View Source
public string userName(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userPermanentSessionId(ScriptScopeContext)
View Source
public string userPermanentSessionId(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userSession(ScriptScopeContext)
View Source
public IAuthSession userSession(ScriptScopeContext scope)
Returns
ServiceStack.Auth.IAuthSession
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userSessionId(ScriptScopeContext)
View Source
public string userSessionId(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userSessionOptions(ScriptScopeContext)
View Source
public HashSet<string> userSessionOptions(ScriptScopeContext scope)
Returns
System.Collections.Generic.HashSet<System.String>
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
userTempSessionId(ScriptScopeContext)
View Source
public string userTempSessionId(ScriptScopeContext scope)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |