Beispiel #1
0
        public void MoveNextSlow()
        {
            Setup.TimerStart($"==>{Setup.CallerName()} Started");
            int      i = 0;
            BaseType n = Setup.FD;
            string   content;

            while (n != null)
            {
                if (n is DisplayedType)
                {
                    content = ": title: " + (n as DisplayedType).title;
                }
                else if (n is PropertyType)
                {
                    content = ": " + (n as PropertyType).propName + ": " + (n as PropertyType).val;
                }
                else
                {
                    content = "";
                }

                Debug.Print(n.ObjectID.ToString().PadLeft(4) + ": " + i.ToString().PadLeft(4) + ": " + (n.name ?? "").PadRight(20) + ": " + (n.ElementName ?? "").PadRight(25) + content);

                n = SdcUtil.GetNextElement(n);
                i++;
            }
            Setup.TimerPrintSeconds("  seconds: ", $"\r\n<=={Setup.CallerName()} Complete");
        }