示例#1
0
        /// <summary>
        /// Use this to check that the arguments you passed through localhost's Master Command are sent, received and parsed correctly to general Object ready to use!
        /// </summary>
        /// <param name="receivedCommandThroughLocalhost"></param>
        public static void PrintCommandArguments(command receivedCommandThroughLocalhost)
        {
            List <Object> argumentsInBitsToObjects = BitArrayToListObject(receivedCommandThroughLocalhost.arguments, receivedCommandThroughLocalhost.argumentLengths, receivedCommandThroughLocalhost.argumentTypes);;

            int count = 1;

            foreach (Object o in argumentsInBitsToObjects)
            {
                Console.WriteLine((count++) + ". " + o.ToString() + "\n");
            }
        }