Class Specification<T>
Inheritance
object
Specification<T>
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Specifications
Assembly: Volo.Abp.Specifications.dll
Syntax
public abstract class Specification<T> : ISpecification<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
Specification()
Declaration
protected Specification()
Methods
IsSatisfiedBy(T)
Declaration
public virtual bool IsSatisfiedBy(T obj)
Parameters
| Type | Name | Description |
|---|---|---|
| T | obj |
Returns
| Type | Description |
|---|---|
| bool |
ToExpression()
Declaration
public abstract Expression<Func<T, bool>> ToExpression()
Returns
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
Operators
implicit operator Expression<Func<T, bool>>(Specification<T>)
Declaration
public static implicit operator Expression<Func<T, bool>>(Specification<T> specification)
Parameters
| Type | Name | Description |
|---|---|---|
| Specification<T> | specification |
Returns
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |