Versioned<T> Class

DECLARATION
public class Versioned<T> : IEquatable<Versioned<T>>,
IComparable<Versioned<T>>
NAMESPACE
LanguageExt

Constructors

Versioned(T, VectorClock)
PARAMETERS
value
T
version
VectorClock
DECLARATION
public ctor Versioned(T value, VectorClock version)

Fields

Value
DECLARATION
public readonly T Value
Version
DECLARATION
public readonly VectorClock Version

Methods

CompareTo(Versioned<T>)
PARAMETERS
rhs
Versioned<T>
DECLARATION
public int CompareTo(Versioned<T> rhs)
RETURNS
int
Equals(Versioned<T>)
PARAMETERS
rhs
Versioned<T>
DECLARATION
public bool Equals(Versioned<T> rhs)
RETURNS
bool
GetHashCode()
DECLARATION
public override int GetHashCode()
RETURNS
int
SetValue(int, T)
PARAMETERS
nodeId
int
value
T
DECLARATION
public Versioned<T> SetValue(int nodeId, T value)
RETURNS
Versioned<T>