FilterChain Class

Filters applied one after the other, each to the result of the one before it: a list of filter functions of CSS.

public sealed class FilterChain : Filter
Inheritance
Filter FilterChain

Constructors

NameDescription
FilterChain(ReadOnlySpan<Filter>)Initializes a new instance of the FilterChain class.

FilterChain(ReadOnlySpan<Filter>)

FilterChain.cs

Initializes a new instance of the FilterChain class.

public FilterChain(params scoped ReadOnlySpan<Filter> filters)

Parameters

filters ReadOnlySpan<Filter>
The filters, in the order they are applied. They are copied.

Exceptions

ArgumentNullException
A filter is null.

Properties

NameDescription
FiltersGets the filters, in the order they are applied.

Gets the filters, in the order they are applied.

public IReadOnlyList<Filter> Filters { get; }

Property value

IReadOnlyList<Filter>