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
Syntaxpublic override bool IsValid(
TMaster obj,
ValidationEvent state
)
Public Overrides Function IsValid (
obj As TMaster,
state As ValidationEvent
) As Boolean
public:
virtual bool IsValid(
TMaster obj,
ValidationEvent^ state
) override
abstract IsValid :
obj : 'TMaster *
state : ValidationEvent -> bool
override IsValid :
obj : 'TMaster *
state : ValidationEvent -> bool
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
See Also