GlobalVariablesManager
class
Global Variables Manager
Methods
Count () Return: int | Returns variables' count in global storage |
Exists (string name) Return: bool | Check if variable with specified name exists in global storage |
Flush () Return: void | Saves all serializable variables to disk |
GetGlobalVariablesList ()
Return: List |
Returns all global variables as list |
GetValue (string name) Return: object | Returns variable value by name |
Remove (string name) Return: bool | Removes specified variable from global storage |
RemoveAll () Return: void | Removes all variables from global storage |
SetValue (string name, object value, VariableLifetime lifetime) Return: void | Sets variable value to a global storage |
TryGetValue (string name, ref Object obj) Return: bool | Performs a variable assigning from a global storage if such name exists in a scope |