Ejemplo n.º 1
0
        private void CheckListConsistentAndThrow(List <ModelItem> src, List <ModelItem> copied)
        {
            bool valid = DragDropHelper.AreListsIdenticalExceptOrder(src, copied);

            if (!valid)
            {
                throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Error_BadOutputFromSortSelectedItems));
            }
        }