Class DynamicVariableExtensions
- Namespace
- MonkeyLoader.Resonite
- Assembly
- MonkeyLoader.Resonite.Integration.dll
public static class DynamicVariableExtensions
- Inheritance
-
DynamicVariableExtensions
- Inherited Members
-
Methods
CreateSpace(Slot, string?, bool)
public static DynamicVariableSpace CreateSpace(this Slot slot, string? spaceName, bool onlyDirectBinding = false)
Parameters
slot
Slot
spaceName
string
onlyDirectBinding
bool
Returns
- DynamicVariableSpace
FindOrCreateSpace(Slot, string?, bool)
public static DynamicVariableSpace FindOrCreateSpace(this Slot slot, string? spaceName, bool onlyDirectBinding = false)
Parameters
slot
Slot
spaceName
string
onlyDirectBinding
bool
Returns
- DynamicVariableSpace
GetSyncWithVariable<T>(IField<T>, string, bool, bool)
public static DynamicField<T> GetSyncWithVariable<T>(this IField<T> field, string variable, bool setupReset = false, bool forceCurrentValue = false)
Parameters
field
IField<T>
variable
string
setupReset
bool
forceCurrentValue
bool
Returns
- DynamicField<T>
Type Parameters
T
IsValidName(string?)
public static bool IsValidName(this string? variableName)
Parameters
variableName
string
Returns
- bool
ParseAsPath(string?, out string?, out string?)
public static void ParseAsPath(this string? path, out string? spaceName, out string? variableName)
Parameters
path
string
spaceName
string
variableName
string
ProcessName(string?)
public static string? ProcessName(this string? variableName)
Parameters
variableName
string
Returns
- string