GlobalVariablesManager

Count () METHOD (Return: int)
Returns variables' count in global storage SYNTAX public static int Count () RETURN int EXAMPLE using System; using System.Text; usin...
Exists (string name) METHOD (Return: bool)
Check if variable with specified name exists in global storage SYNTAX public static bool Exists (string name) PARAMETERS name — string V...
Flush () METHOD (Return: void)
Saves all serializable variables to disk SYNTAX public static void Flush () RETURN void EXAMPLE using System; using System.Text; using ...
GetGlobalVariablesList () METHOD (Return: List)
Returns all global variables as list SYNTAX public static List<GlobalVariable> GetGlobalVariablesList () RETURN List Collection of glo...
GetValue (string name) METHOD (Return: object)
Returns variable value by name SYNTAX public static object GetValue (string name) PARAMETERS name — string Variable name RETURN ...
Remove (string name) METHOD (Return: bool)
Removes specified variable from global storage SYNTAX public static bool Remove (string name) PARAMETERS name — string Variable name ...
RemoveAll () METHOD (Return: void)
Removes all variables from global storage SYNTAX public static void RemoveAll () RETURN void EXAMPLE using System; using System.Text; u...
SetValue (string name, object value, VariableLifetime lifetime) METHOD (Return: void)
Sets variable value to a global storage SYNTAX public static void SetValue (string name,object value,VariableLifetime lifetime) PARAMETERS name...
TryGetValue (string name, ref Object obj) METHOD (Return: bool)
Performs a variable assigning from a global storage if such name exists in a scope SYNTAX public static bool TryGetValue (string name,ref Object obj...