IConfigScope
Description
- Derived from
- Extended by
-
ConfigScope sealed
A IConfigScope represents a set of variables.
The set of existing local variables is exposed via the IConfigValueBag base interface. New variables cannot be added to the scope but variable values can be set freely.
Public / Methods
ResolveTypeNull
Tries to resolve the given incomplete name of a config type, using some additional information from the scope (for example using directives).
- See also
SetVariable
Sets a variable value in this scope.
- ConfigException
-
If name in has not been found or if value in is not assignable to the variable type.
Extensions
SetVariable
4 overloads
Sets a variable value in this scope.
- ConfigException
-
If name in has not been found or if value in is not assignable to ConfigType.Bool.
Sets a variable value in this scope.
- ConfigException
-
If name in has not been found or if value in is not assignable to ConfigType.Num.
Sets a variable value in this scope.
- ConfigException
-
If name in has not been found or if value in is not assignable to ConfigType.Str.
Sets a variable value in this scope.
- ConfigException
-
If name in has not been found or if value in is not assignable to ConfigType.Path.