Table of Contents

Interface IEnumerableFilter

Namespace
Magicalizer.Filters.Abstractions
Assembly
Magicalizer.Filters.Abstractions.dll

Non-generic interface of EnumerableFilter<TFilter>, to work with collection filters without knowing their element filter type.

public interface IEnumerableFilter

Properties

Any

Matches collections with at least one element matching each of these filters.

IEnumerable<IFilter>? Any { get; }

Property Value

IEnumerable<IFilter>

IsEmpty

Matches empty collections if true, non-empty ones if false.

bool? IsEmpty { get; }

Property Value

bool?

None

Matches collections without elements matching any of these filters.

IEnumerable<IFilter>? None { get; }

Property Value

IEnumerable<IFilter>