Class VizCommand
- Inheritance
-
VizCommand
- Implements
-
- Inherited Members
-
- Namespace
- TabularEditor.Shared.Scripting
- Assembly
- TabularEditor3.Shared.dll
A serializable command emitted by the viz scripting API.
The frontend viz-script-bridge processes these into store actions.
public record VizCommand : IEquatable<VizCommand>
- Extension Methods
-
Constructors
VizCommand(string, object)
A serializable command emitted by the viz scripting API.
The frontend viz-script-bridge processes these into store actions.
public VizCommand(string Action, object Payload)
Parameters
VizCommand(VizCommand)
protected VizCommand(VizCommand original)
Parameters
Properties
Action
public string Action { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Payload
public object Payload { get; init; }
Property Value
Methods
Deconstruct(out string, out object)
public void Deconstruct(out string Action, out object Payload)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Equals(VizCommand?)
public virtual bool Equals(VizCommand? other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(VizCommand?, VizCommand?)
public static bool operator ==(VizCommand? left, VizCommand? right)
Parameters
Returns
operator !=(VizCommand?, VizCommand?)
public static bool operator !=(VizCommand? left, VizCommand? right)
Parameters
Returns