MetadataStructureValidatorValidateItemInternal Method
Validate item with its children. Can validate static and instance objects.
Namespace: MFiles.VAF.ConfigurationAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
protected virtual bool ValidateItemInternal(
Vault vault,
IConfiguration configuration,
Object item,
ValidationResultBase validationResult,
Object parent,
MemberInfo member,
int level,
Assembly[] containingAssemblies,
HashSet<Object> handledItems
)
- vault Vault
- The vault object.
- configuration IConfiguration
- The configuration that is being validated.
- item Object
- The validated item "value". To validate static structure use: typeof(somestatic)
- validationResult ValidationResultBase
- The validation state that receives the validation results.
- parent Object
- Parent object of item. Can be null.
- member MemberInfo
- The member in which this item is, can be null, and usually is.
- level Int32
- Hierarchy level limiter. Number of levels how deep to check. Set only for dev reasons.
- containingAssemblies Assembly
- Set of assemblies that are allowed to contain the validated items.
- handledItems HashSetObject
- Collection of items that have already been validated.
BooleanTrue when everything is ok.