main
 1using System;
 2
 3namespace mars.rover.common
 4{
 5    public class ActionCommand : Command
 6    {
 7        readonly Action command;
 8
 9        public ActionCommand(Action command)
10        {
11            this.command = command;
12        }
13
14        public virtual void run()
15        {
16            command();
17        }
18    }
19}