Пример #1
0
        public void Execute(API.CommandManager manager, IRemoteCommandArguments arguments)
        {
            var args = (DragArguments)arguments;

            Guard.ArgumentNotNullForCommand<Drag>(args.From);
            Guard.ArgumentNotNullForCommand<Drag>(args.To);

            manager.Drag(args.From).To(args.To);
        }