public SleFormat(LedgerEntryType type, params Object[] args) : base(args) { LedgerEntryType = type; AddCommonFields(); Formats.Add(type, this); }
public void LedgerEntryType(LedgerEntryType val) { Add(Field.LedgerEntryType, val.AsInteger); }
public LedgerEntry(LedgerEntryType type) { SetFormat(SleFormat.Formats[type]); Add(Coretypes.UInt.UInt16.LedgerEntryType, type.AsInteger); }
protected ThreadedLedgerEntry(LedgerEntryType type) : base(type) { }
public static SleFormat GetLedgerFormat(LedgerEntryType key) { if (key == null) return null; return Formats[key]; }