Show / Hide Table of Contents

Interface ISpecificationParser<TCriteria>

Represents that the implemented classes are specification parsers that parses the given specification to a domain specific criteria object, such as the ICriteria instance in NHibernate.

Namespace: Volo.Abp.Specifications
Assembly: Volo.Abp.Specifications.dll
Syntax
public interface ISpecificationParser<out TCriteria>
Type Parameters
Name Description
TCriteria

The type of the domain specific criteria.

Methods

Parse<T>(ISpecification<T>)

Parses the given specification to a domain specific criteria object.

Declaration
TCriteria Parse<T>(ISpecification<T> specification)
Parameters
Type Name Description
ISpecification<T> specification

The specified specification instance.

Returns
Type Description
TCriteria

The instance of the domain specific criteria.

Type Parameters
Name Description
T

The type of the object to which the specification is applied.

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft