Table of Contents

Interface IRefreshableElementCollection<T>

Namespace
Bunit
Assembly
Bunit.Web.dll

Represents a AngleSharp.Dom.IElement collection, which queries and finds its elements in an IRenderedFragmentBase, based on a CSS selector. The collection can be refreshed either manually or automatically.

public interface IRefreshableElementCollection<out T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : IElement

Type Parameters

T

The type of AngleSharp.Dom.IElement in the collection.

Inherited Members
Extension Methods

Properties

EnableAutoRefresh

Gets or sets a value indicating whether the collection automatically refreshes when the IRenderedFragmentBase changes.

bool EnableAutoRefresh { get; set; }

Property Value

bool

Methods

Refresh()

Trigger a refresh of the elements in the collection, by querying the rendered fragments DOM tree.

void Refresh()
.NET Foundation

Supported by the .NET Foundation.