Fork me on GitHubEpicdominant domains
APIEpic.Query.ObjectIDeferred<(Of <(<'TResult>)>)>

IDeferred<(Of <(<'TResult>)>)> Interface
Represents a description of a required TResult.

Assembly: Epic.Query.Object

Declaration Syntax
C#
public interface IDeferred<TResult>
Generic Template Parameters
TResult
Type of the result required.
Remarks

A deferred can be seen as a value which has not been computed yet. Its Expression declaratively describes the qualities of the TResult. Such expression is defined by the Defer<(Of <<'(TDeferred, TResult>)>>)(Expression<(Of <<'(TResult>)>>)) method of the Deferrer.

Different extension methods can be defined to produce different kind of deferreds. For example, some common search operations are defined in the Searchable static class. Such extentions will create new deferreds extending IDeferred<(Of <(<'TResult>)>)> (like ISearch<(Of <(<'TEntity, TIdentity>)>)>, IOrderedSearch<(Of <(<'TEntity, TIdentity>)>)> and ISlicedSearch<(Of <(<'TEntity, TIdentity>)>)>) using specialized Expression<(Of <(<'TValue>)>)> for their specific purposes.

The IDeferred<(Of <(<'TResult>)>)> can be evaluated when the TResult is actually needed, through the Evaluate<(Of <<'(TResult>)>>)(IDeferred<(Of <<'(TResult>)>>)) method.

Members
All MembersProperties    



MemberDescription
Deferrer
Deferrer that created and can evaluated Expression.
Expression
Deferred expression.
blog comments powered by Disqus