Struct Deletable<TValue>
Assembly: ZoneTree.dll
Syntax
public struct Deletable<TValue> : IEquatable<Deletable<TValue>>
Type Parameters
Constructors
|
Improve this Doc
View Source
Deletable(in TValue, bool)
Declaration
public Deletable(in TValue value, bool isDeleted = false)
Parameters
Type |
Name |
Description |
TValue |
value |
|
bool |
isDeleted |
|
Fields
|
Improve this Doc
View Source
IsDeleted
Declaration
Field Value
|
Improve this Doc
View Source
Value
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(Deletable<TValue>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Deletable<TValue> other)
Parameters
Type |
Name |
Description |
Deletable<TValue> |
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 ==(Deletable<TValue>, Deletable<TValue>)
Declaration
public static bool operator ==(Deletable<TValue> left, Deletable<TValue> right)
Parameters
Returns
|
Improve this Doc
View Source
operator !=(Deletable<TValue>, Deletable<TValue>)
Declaration
public static bool operator !=(Deletable<TValue> left, Deletable<TValue> right)
Parameters
Returns
Implements