Class SystemVarResolver
Resolves environment variables using values declared in code in static class SysConstants. The name must be prepended with "SysConsts." prefix, otherwise the OS resolver is used
Inheritance
System.Object
SystemVarResolver
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Sky
Assembly: Azos.Sky.dll
Syntax
public sealed class SystemVarResolver : IEnvironmentVariableResolver
Fields
PREFIX
Declaration
public const string PREFIX = "SysConsts."
Field Value
Type | Description |
---|---|
System.String |
Properties
Instance
Returns a singleton class instance
Declaration
public static SystemVarResolver Instance { get; }
Property Value
Type | Description |
---|---|
SystemVarResolver |
Methods
Bind()
Declaration
public static void Bind()
ResolveEnvironmentVariable(String, out String)
Declaration
public bool ResolveEnvironmentVariable(string name, out string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | value |
Returns
Type | Description |
---|---|
System.Boolean |