MetadataStructureValidatorIsValid(Vault, IConfiguration, MFClassGroupAttribute, Object, Object, ValidationResultBase) Method
Check the validity of reference in the vault.
Namespace: MFiles.VAF.ConfigurationAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
protected virtual bool IsValid(
Vault vault,
IConfiguration configuration,
MFClassGroupAttribute attribute,
Object reference,
Object parent,
ValidationResultBase validationResult
)
- vault Vault
- Vault in which to check.
- configuration IConfiguration
- The configuration that is being validated.
- attribute MFClassGroupAttribute
- 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.
BooleanReturns true if the validation succeeded.