private void B_Table_Click(object sender, EventArgs e) { var items = files.Select(z => new Move6(z)); Clipboard.SetText(TableUtil.GetTable(items, movelist)); System.Media.SystemSounds.Asterisk.Play(); }
public static string GetTable <T1, T2>(byte[] data) where T1 : class, IFlatBufferArchive <T2> where T2 : class { var obj = FlatBufferConverter.DeserializeFrom <T1>(data); var table = obj.Table; return(TableUtil.GetTable(table)); }
public string GetSummarySimple() { var tableID = TableID.ToString("X16"); var tableData = TableUtil.GetTable(Entries); return(tableID + Environment.NewLine + tableData + Environment.NewLine); }
public static string GetTable <T1, T2>(string path) where T1 : class, IFlatBufferArchive <T2> where T2 : class { var data = File.ReadAllBytes(path); var obj = FlatBufferConverter.DeserializeFrom <T1>(data); var table = obj.Table; return(TableUtil.GetTable(table)); }