Table of Contents

Class AngleSharpWrapperExtensions

Namespace
Bunit.Web.AngleSharp
Assembly
Bunit.Web.dll

Extensions for AngleSharp.Dom.IElement wrapped inside WrapperBase<TElement> types.

public static class AngleSharpWrapperExtensions
Inheritance
AngleSharpWrapperExtensions
Inherited Members

Methods

Unwrap(IEnumerable<INode>)

Unwraps a enumerable of wrapped AngleSharp object, if they have been wrapped.

public static IEnumerable<INode> Unwrap(this IEnumerable<INode> nodes)

Parameters

nodes IEnumerable<INode>

Returns

IEnumerable<INode>

Unwrap<TElement>(TElement)

Unwraps a wrapped AngleSharp object, if it has been wrapped.

public static TElement Unwrap<TElement>(this TElement element) where TElement : class, IElement

Parameters

element TElement

Returns

TElement

Type Parameters

TElement
.NET Foundation

Supported by the .NET Foundation.