Interface IVariablesOperations
- Namespace
- TeaPie.Variables
- Assembly
- TeaPie.dll
public interface IVariablesOperations
- Extension Methods
-
Methods
ContainsVariable(string)
bool ContainsVariable(string name)
Parameters
name
string
Returns
- bool
GetVariable<T>(string, T?)
T? GetVariable<T>(string name, T? defaultValue = default)
Parameters
name
string
defaultValue
T
Returns
- T
Type Parameters
T
RemoveVariable(string)
bool RemoveVariable(string name)
Parameters
name
string
Returns
- bool
RemoveVariablesWithTag(string)
bool RemoveVariablesWithTag(string tag)
Parameters
tag
string
Returns
- bool
SetVariable<T>(string, T, params string[])
void SetVariable<T>(string name, T value, params string[] tags)
Parameters
name
string
value
T
tags
string[]
Type Parameters
T