public static ICommand RequestReorder(this IEditor editor, ReorderKind reorderKind) { var req = new ReorderRequest(); req.Kind = reorderKind; return(editor.PerformRequest(req)); }
// ======================================== // constructor // ======================================== public ReorderModelCommand(IEditor target, ReorderKind kind) { _oldIndex = -1; _target = target; _kind = kind; }