Browse
Sample.LibCore.Data.RepositoriesISpecification
.md
interface

ISpecification<T>

public
namespace Core.Data.Repositories; public interface ISpecification<in T>

Encapsulates query criteria for T.

Tโ€”The queried entity type.

Methods

#bool IsSatisfiedBy(T entity)

Determines whether the entity satisfies the specification.

entityโ€”The entity to evaluate.

returnsโ€”true when the entity matches; otherwise false.