Class Commodity
Namespace: Rebus
Assembly: Rebus.dll
Syntax
[MessagePackObject(false)]
[Table("Commodity")]
public class Commodity : IComparable, IComparable<Commodity>
Properties
Location
Declaration
[IgnoreMember]
[NotMapped]
public HexPoint Location { get; set; }
Property Value
Mass
Declaration
[Key(0)]
public int Mass { get; set; }
Property Value
Price
Declaration
[Key(1)]
public int Price { get; set; }
Property Value
Q
Declaration
[IgnoreMember]
public int Q { get; set; }
Property Value
Quantity
Declaration
[Key(2)]
public int Quantity { get; set; }
Property Value
R
Declaration
[IgnoreMember]
public int R { get; set; }
Property Value
Methods
CompareTo(Commodity)
Declaration
public int CompareTo(Commodity other)
Parameters
Returns
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Implements