Gumbo.Wrappers.GumboWrapper.MarshalElementAndDescendants C# (CSharp) Méthode

MarshalElementAndDescendants() private static méthode

private static MarshalElementAndDescendants ( ElementWrapper element ) : void
element ElementWrapper
Résultat void
        private static void MarshalElementAndDescendants(ElementWrapper element)
        {
            GC.KeepAlive(element.Attributes);
            foreach (var child in element.Children.OfType<ElementWrapper>())
            {
                MarshalElementAndDescendants(child);
            }
        }