CSPspEmu.Hle.Formats.IsoNode.Descendency C# (CSharp) Method

Descendency() public method

public Descendency ( ) : IEnumerable
return IEnumerable
        public IEnumerable<IsoNode> Descendency()
        {
            foreach (var Child in Childs)
            {
                yield return Child;
                if (Child.IsDirectory)
                {
                    foreach (var Descendant in Child.Descendency())
                    {
                        yield return Descendant;
                    }
                }
            }
        }