Interface ISavingRuleArguments<TEntityView>
- Namespace
- GroupeIsa.Neos.Application.Rules.EventRules
- Assembly
- GroupeIsa.Neos.Application.Abstractions.dll
Provides the functionalities of a saving rule arguments.
public interface ISavingRuleArguments<TEntityView> : ISaveRuleArguments<TEntityView>, IContextRuleArguments, ICancelableRuleArguments, IRuleArguments where TEntityView : IEntityView
Type Parameters
TEntityViewThe entity view type.
- Inherited Members
Methods
AddError(TEntityView, string)
Adds an error message for the specified item.
void AddError(TEntityView item, string errorMessage)
Parameters
itemTEntityViewItem.
errorMessagestringError message.
Remarks
Adding an error cancels the saving process.