DynamicTuple
Represents a dynamic tuple that holds a collection of objects and provides equality comparison.
Herda de: Equatable<DynamicTuple>
Construtores
public DynamicTuple(object[] values)
dynamicTuple = DynamicTuple(values)
Represents a dynamic tuple that holds a collection of objects and provides equality comparison.
Métodos
public override DynamicTuple Clone()
result = dynamicTuple.Clone()
Creates a shallow copy of this tuple.
Retorna: A new DynamicTuple with the same values.
public override int GetHashCode()
result = dynamicTuple.GetHashCode()
Computes a hash code for this tuple based on its values.
Retorna: A hash code for the tuple.
protected override bool OnEquals(DynamicTuple other)
result = dynamicTuple.OnEquals(other)
Determines whether this instance is equal to another DynamicTuple by comparing their values.
- other
- The other DynamicTuple to compare with.
Retorna: True if the values are equal in the same order; otherwise, false.
public override string ToString()
result = dynamicTuple.ToString()
Returns a string representation of the tuple, with values separated by commas.
Retorna: A string representing the tuple's values.
Campos
public readonly IReadOnlyCollection<object> Values
value = dynamicTuple.Values
Gets the read-only collection of values stored in the tuple.