Interface IRetrievingRule<TEntityView>
- Namespace
- GroupeIsa.Neos.Application.Rules.EventRules
- Assembly
- GroupeIsa.Neos.Application.Abstractions.dll
Provides the functionalities of a retrieving rule.
public interface IRetrievingRule<TEntityView> where TEntityView : IEntityView
Type Parameters
TEntityViewThe entity view type.
Methods
OnRetrievingAsync(IRetrievingRuleArguments<TEntityView>)
Executes the retrieving rule.
Task OnRetrievingAsync(IRetrievingRuleArguments<TEntityView> args)
Parameters
argsIRetrievingRuleArguments<TEntityView>Retrieving arguments.
Returns
OnRetrievingAsync(IRetrievingRuleArguments<TEntityView>, CancellationToken)
Executes the retrieving rule.
Task OnRetrievingAsync(IRetrievingRuleArguments<TEntityView> args, CancellationToken cancellationToken)
Parameters
argsIRetrievingRuleArguments<TEntityView>Retrieving arguments.
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel the operation.