Struct CombinedValue<TValue1, TValue2>
Assembly: ZoneTree.dll
Syntax
public struct CombinedValue<TValue1, TValue2> : IEquatable<CombinedValue<TValue1, TValue2>>
Type Parameters
Name |
Description |
TValue1 |
|
TValue2 |
|
Constructors
|
Improve this Doc
View Source
CombinedValue(in TValue1, in TValue2)
Declaration
public CombinedValue(in TValue1 value1, in TValue2 value2)
Parameters
Type |
Name |
Description |
TValue1 |
value1 |
|
TValue2 |
value2 |
|
Fields
|
Improve this Doc
View Source
Value1
Declaration
Field Value
|
Improve this Doc
View Source
Value2
Declaration
Field Value
Methods
|
Improve this Doc
View Source
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
|
Improve this Doc
View Source
Equals(CombinedValue<TValue1, TValue2>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(CombinedValue<TValue1, TValue2> other)
Parameters
Type |
Name |
Description |
CombinedValue<TValue1, TValue2> |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Improve this Doc
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
|
Improve this Doc
View Source
operator ==(CombinedValue<TValue1, TValue2>, CombinedValue<TValue1, TValue2>)
Declaration
public static bool operator ==(CombinedValue<TValue1, TValue2> left, CombinedValue<TValue1, TValue2> right)
Parameters
Returns
|
Improve this Doc
View Source
operator !=(CombinedValue<TValue1, TValue2>, CombinedValue<TValue1, TValue2>)
Declaration
public static bool operator !=(CombinedValue<TValue1, TValue2> left, CombinedValue<TValue1, TValue2> right)
Parameters
Returns
Implements