Example #1
0
        public IEnumerable <string> GetStringExplodedRepresentation()
        {
            var ret = new List <string>();

            ret.Add(MoveNumber + ".");
            ret.Add(WhiteMove.ToString());
            ret.Add(BlackMove?.ToString() ?? "...");
            return(ret);
        }
Example #2
0
 public override string ToString()
 {
     return(String.Format("{0}. {1} {2}", MoveNumber, WhiteMove.ToString(), BlackMove?.ToString()));
 }