MetadataStructureValidatorIsValid(Vault, IConfiguration, MFSkipAttribute, Object, Object, ValidationResultBase) Method

Check the validity of reference in the vault.

Definition

Namespace: MFiles.VAF.Configuration
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
protected virtual bool IsValid(
	Vault vault,
	IConfiguration configuration,
	MFSkipAttribute attribute,
	Object reference,
	Object parent,
	ValidationResultBase validationResult
)

Parameters

vault  Vault
Vault in which to check.
configuration  IConfiguration
The configuration that is being validated.
attribute  MFSkipAttribute
The attribute that contains the validation rules.
reference  Object
Reference to object to validate.
parent  Object
Parent of the object reference. Can be null.
validationResult  ValidationResultBase
The validation state that receives the validation results.

Return Value

Boolean
Returns true if the validation succeeded.

See Also