Beispiel #1
0
        public bool MoveNext()
        {
            bool gotArg = false;

            while (!(gotArg || Current == string.Empty))
            {
                if (argNumerator.MoveNext())
                {
                    gotArg  = ParseArgs.TryGetArg(argNumerator.Current, out string arg);
                    Current = arg;
                }
                else
                {
                    Current = string.Empty;
                }
            }

            return(gotArg);
        }