Boo.BooLangProject.HierarchyListener.Scan C# (CSharp) Метод

Scan() приватный Метод

Scans an existing hierarchy, raising events for each file it encounters.
private Scan ( uint id ) : void
id uint Item to start the scan from.
Результат void
        private void Scan(uint id)
        {
            uint currentItem = id;

            while (currentItem != NullItem)
            {
                RaiseItemAddedEvent(currentItem);

                if (CanRecurseInto(currentItem))
                {
                    object child = GetFirstChild(currentItem);

                    if (child != null)
                        Scan(GetItemID(child));
                }

                currentItem = MoveNext(currentItem);
            }
        }