Click or drag to resize

CheckConstraintTObjectIsValid Method

Validates the object and returns true if the object is valid according to the constraint.

Namespace:  Aloe.SystemFrameworks.Domain.Validation
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public override bool IsValid(
	TObject obj,
	ValidationEvent state
)

Parameters

obj
Type: TObject
The object to validate.
state
Type: Aloe.SystemFrameworks.Domain.ValidationValidationEvent
The validation state for which the validation is performed.

Return Value

Type: Boolean
True if the object is valid.
See Also