Exemplo n.º 1
0
        public static ICommand RequestReorder(this IEditor editor, ReorderKind reorderKind)
        {
            var req = new ReorderRequest();

            req.Kind = reorderKind;
            return(editor.PerformRequest(req));
        }
Exemplo n.º 2
0
 // ========================================
 // constructor
 // ========================================
 public ReorderModelCommand(IEditor target, ReorderKind kind)
 {
     _oldIndex = -1;
     _target   = target;
     _kind     = kind;
 }