コード例 #1
0
        public override string ToString()
        {
            StringBuilder buf = new StringBuilder();

            if (location.Length > 1)
            {
                buf.Append(LocationType.ToLocationSymbol(location[Position.Left]));
            }
            buf.Append(LocationType.ToLocationSymbol(location[Position.On]));
            if (location.Length > 1)
            {
                buf.Append(LocationType.ToLocationSymbol(location[Position.Right]));
            }

            return(buf.ToString());
        }