Click or drag to resize

MasterConstraintTMaster, TDetailIsValid 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(
	TMaster obj,
	ValidationEvent state
)

Parameters

obj
Type: TMaster
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.
Exceptions
ExceptionCondition
ArgumentNullExceptionobj
See Also