Table of Contents

Interface IEntityValidationRuleArguments

Namespace
GroupeIsa.Neos.Domain.Rules.ValidationRules
Assembly
GroupeIsa.Neos.Domain.Abstractions.dll

Validation rule arguments that expose repository access for entity validation rules.

public interface IEntityValidationRuleArguments : IValidationRuleArguments

Methods

GetRepository(BusinessEntity)

Gets the repository handling the given entity (resolves base/abstract types).

IRepository? GetRepository(BusinessEntity entity)

Parameters

entity BusinessEntity

The entity instance.

Returns

IRepository

The repository, or null when none is registered.