ComponentCase Struct
A case of a ComponentVariantType.
public readonly struct ComponentCase : IEquatable<ComponentCase>- Implements
Constructors
| Name | Description |
|---|---|
| ComponentCase(string, ComponentValueType?) | A case of a ComponentVariantType. |
ComponentCase(string, ComponentValueType?)
A case of a ComponentVariantType.
public ComponentCase(string Name, ComponentValueType? Type)Parameters
Namestring- The name of the case.
TypeComponentValueType?- The type of the payload of the case, or null.
Properties
| Name | Description |
|---|---|
| Name | The name of the case. |
| Type | The type of the payload of the case, or null. |
The type of the payload of the case, or null.
public ComponentValueType? Type { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Deconstruct(string, ComponentValueType?) | |
| Equals(ComponentCase) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(string, ComponentValueType?)
public void Deconstruct(out string Name, out ComponentValueType? Type)Parameters
NamestringTypeComponentValueType?
No documentation is available.
Equals overloads
Equals(ComponentCase)
public bool Equals(ComponentCase other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(ComponentCase, ComponentCase) | |
| operator !=(ComponentCase, ComponentCase) |
operator ==(ComponentCase, ComponentCase)
public static bool operator ==(ComponentCase left, ComponentCase right)No documentation is available.
operator !=(ComponentCase, ComponentCase)
public static bool operator !=(ComponentCase left, ComponentCase right)No documentation is available.