Class LocalVariableStruct<T>
A local variable generic structure.
public sealed class LocalVariableStruct<T> : LocalVariable<T>, IEquatable<ObjectVariable<T>>
Type Parameters
TThe class type to serialize/deserialize.
- Inheritance
-
LocalVariableStruct<T>
- Implements
- Inherited Members
- Extension Methods
Remarks
This local variable type uses a JSON local variable to serialize/deserialize any C# type compatible with JsonSerializer.
It is not very fast due to interop parsing. Although it's a very flexible API, do take caution in using it.
Properties
- Value
Gets or sets the current value of this variable. Returns the default value of T if unassigned (null or 0).
Methods
- Delete()
Deletes the value of this variable.