Table of Contents

Class OrderBase

Namespace
Lib9c.Model.Order
Assembly
Lib9c.dll
[Serializable]
public class OrderBase
Inheritance
OrderBase
Derived
Inherited Members

Constructors

OrderBase(Dictionary)

public OrderBase(Dictionary serialized)

Parameters

serialized Dictionary

OrderBase(Guid, Guid, long, long)

public OrderBase(Guid orderId, Guid tradableId, long startedBlockIndex, long expiredBlockIndex)

Parameters

orderId Guid
tradableId Guid
startedBlockIndex long
expiredBlockIndex long

Fields

OrderId

public readonly Guid OrderId

Field Value

Guid

TradableId

public readonly Guid TradableId

Field Value

Guid

Properties

ExpiredBlockIndex

public long ExpiredBlockIndex { get; }

Property Value

long

StartedBlockIndex

public long StartedBlockIndex { get; }

Property Value

long

Methods

Equals(OrderBase)

protected bool Equals(OrderBase other)

Parameters

other OrderBase

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Serialize()

public virtual IValue Serialize()

Returns

IValue