public EmitEnumsStep(IWfRuntime wf, WfHost host, ClrAssemblyAdapter src) { Wf = wf; Host = host; Source = src; Target = Wf.Db().Table(ClrEnumRecord.TableId, Source.Part); Records = default; }
public Index <ClrEnumRecord> EmitEnumRecords(ClrAssemblyAdapter src, FS.FilePath dst) { var records = Enums.records(src); if (records.Length != 0) { var t = default(ClrEnumRecord); var formatter = Tables.formatter <ClrEnumRecord>(32); var flow = Wf.EmittingTable <ClrEnumRecord>(dst); var counter = 0u; Execute(records, ref counter, formatter, dst); Wf.EmittedTable(flow, counter); } return(records); }