ComponentField Struct

A field of a ComponentRecordType, or a parameter of a ComponentFunctionType.

public readonly struct ComponentField : IEquatable<ComponentField>
Implements

Constructors

NameDescription
ComponentField(string, ComponentValueType)A field of a ComponentRecordType, or a parameter of a ComponentFunctionType.

ComponentField(string, ComponentValueType)

A field of a ComponentRecordType, or a parameter of a ComponentFunctionType.

public ComponentField(string Name, ComponentValueType Type)

Parameters

Name string
The name of the field.
Type ComponentValueType
The type of the field.

Properties

NameDescription
NameThe name of the field.
TypeThe type of the field.

The name of the field.

public string Name { get; init; }

Property value

string

The type of the field.

public ComponentValueType Type { get; init; }

Property value

ComponentValueType

Methods

NameDescription
Deconstruct(string, ComponentValueType)
Equals(ComponentField)
Equals(object)
GetHashCode()
ToString()

Deconstruct(string, ComponentValueType)

public void Deconstruct(out string Name, out ComponentValueType Type)

Parameters

Name string
Type ComponentValueType

No documentation is available.

Equals overloads

Equals(ComponentField)

public bool Equals(ComponentField other)
Parameters
other ComponentField
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(ComponentField, ComponentField)
operator !=(ComponentField, ComponentField)

operator ==(ComponentField, ComponentField)

public static bool operator ==(ComponentField left, ComponentField right)

Parameters

left ComponentField
right ComponentField

Returns

bool

No documentation is available.

operator !=(ComponentField, ComponentField)

public static bool operator !=(ComponentField left, ComponentField right)

Parameters

left ComponentField
right ComponentField

Returns

bool

No documentation is available.