Table of Contents

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

TEntity

The entity type.

Methods

OnEntityViewRetrievingAsync(IEntityViewRetrievingRuleArguments<TEntity>, CancellationToken)

Executes the retrieving rule.

Task OnEntityViewRetrievingAsync(IEntityViewRetrievingRuleArguments<TEntity> args, CancellationToken cancellationToken)

Parameters

args IEntityViewRetrievingRuleArguments<TEntity>

Retrieved rule arguments.

cancellationToken CancellationToken

A CancellationToken that can be used to cancel the operation.

Returns

Task

A Task representing the asynchronous operation.