Class ImportValidator

Validate files that is about to be imported.

Inheritance
System.Object
ImportValidator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.MetaDataPlus.Import
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
Syntax
public class ImportValidator

Constructors

ImportValidator()

Declaration
public ImportValidator()

Methods

ValidateMappingRule(IEnumerable<String>, Rule, out String)

Validates the mapping rule.

Declaration
public virtual bool ValidateMappingRule(IEnumerable<string> supportedLanguages, Rule mappingRule, out string errorMessage)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> supportedLanguages

The supported languages.

Rule mappingRule

The mapping rule.

System.String errorMessage

An error message that will be returned if the mapping rules has validation errors.

Returns
Type Description
System.Boolean

True if the mapping rule is valid, otherwise false.