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. |