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