Interface IEntityViewRetrievingRule<TEntity>
- Namespace
- GroupeIsa.Neos.Domain.Rules.EventRules
- Assembly
- GroupeIsa.Neos.Domain.Abstractions.dll
Represents a domain rule that is executed when an entity view is being retrieved.
public interface IEntityViewRetrievingRule<TEntity> where TEntity : BusinessEntity
Type Parameters
TEntityThe entity type.
Methods
OnEntityViewRetrievingAsync(IEntityViewRetrievingRuleArguments<TEntity>, CancellationToken)
Executes the retrieving rule.
Task OnEntityViewRetrievingAsync(IEntityViewRetrievingRuleArguments<TEntity> args, CancellationToken cancellationToken)
Parameters
argsIEntityViewRetrievingRuleArguments<TEntity>Retrieved rule arguments.
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel the operation.