AccessEntityFilterTEntity Constructor (TransactionContext, EntityParameterTEntity, TransactionParameter, AccessQuery, EvaluatorGroup) |
Initializes a new instance with a specified
Query.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax public AccessEntityFilter(
TransactionContext context,
EntityParameter<TEntity> entityParameter,
TransactionParameter transactionParameter,
AccessQuery query,
EvaluatorGroup group
)
Public Sub New (
context As TransactionContext,
entityParameter As EntityParameter(Of TEntity),
transactionParameter As TransactionParameter,
query As AccessQuery,
group As EvaluatorGroup
)
public:
AccessEntityFilter(
TransactionContext^ context,
EntityParameter<TEntity>^ entityParameter,
TransactionParameter^ transactionParameter,
AccessQuery^ query,
EvaluatorGroup^ group
)
new :
context : TransactionContext *
entityParameter : EntityParameter<'TEntity> *
transactionParameter : TransactionParameter *
query : AccessQuery *
group : EvaluatorGroup -> AccessEntityFilter
Parameters
- context
- Type: AGI.FoundationTransactionContext
The transaction context used by this filter. - entityParameter
- Type: AGI.Foundation.TrackingEntityParameterTEntity
The entity parameter used to parameterize this filter. - transactionParameter
- Type: AGI.Foundation.Infrastructure.ThreadingTransactionParameter
The transaction parameter used to parameterize this filter. - query
- Type: AGI.Foundation.AccessAccessQuery
The AccessQuery. Only entities for which this query returns
AccessExists will be matched by this filter.
- group
- Type: AGI.FoundationEvaluatorGroup
The evaluator group in which to obtain evaluators.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when context, entityParameter, transactionParameter, query, or group is .
|
Remarks
If the query does not have any time delays then the filter is ready to be used
immediately after it is constructed. If the query requires a specified time observer to
evaluate then
TimeObserver must be set before use.
See Also