Class TBrookConstraints

Unit

Declaration

type TBrookConstraints = class(TBrookCustomConstraints)

Description

Registers and executes constraint classes.

Hierarchy

Overview

Methods

Public class procedure RegisterService;
Public class procedure UnregisterService;
Public class function Service: TBrookConstraints;
Public procedure Add(AActionClass: TBrookActionClass; AConstraintClass: TBrookConstraintClass);
Public procedure Execute(AAction: TBrookAction; ARoute: TBrookRoute); virtual;

Description

Methods

Public class procedure RegisterService;

Registers the service provided by this class.

Public class procedure UnregisterService;

Unregisters the service provided by this class.

Public class function Service: TBrookConstraints;

Return an instance of this class.

Public procedure Add(AActionClass: TBrookActionClass; AConstraintClass: TBrookConstraintClass);

Adds a constraint item.

Public procedure Execute(AAction: TBrookAction; ARoute: TBrookRoute); virtual;

Triggers the user validations implemented in the constraint.


Generated by PasDoc 0.15.0.