static void ExecuteInternal(Lazy <IUndoCommandService> undoCommandService, MDTableContext context) { uint rid = context.Records[0].Token.Rid; uint count = (uint)context.Records.Length; SortMDTableCommand.SortTable(undoCommandService, context.MetaDataTableVM, rid, count, string.Format(dnSpy_AsmEditor_Resources.SortTable_RowIdentifier, context.MetaDataTableVM.Table, rid, rid + count - 1)); }
public override void Execute(MDTableContext context) { uint rid = context.Records[0].Token.Rid; uint count = (uint)context.Records.Length; SortMDTableCommand.SortTable(context.MetaDataTableVM, rid, count, string.Format("Sort {0} table, RID {1} - {2}", context.MetaDataTableVM.Table, rid, rid + count - 1)); }
static void ExecuteInternal(MDTableContext context) { uint rid = context.Records[0].Token.Rid; uint count = (uint)context.Records.Length; SortMDTableCommand.SortTable(context.MetaDataTableVM, rid, count); }