SolrNet.Mapping.Validation.Rules.MultivaluedMappedToCollectionRule Class Reference
Represents a rule that validates that fields mapped to a solr field with mutilvalued set to true are of a type that implements IEnumerable{T}. More...
Inheritance diagram for SolrNet.Mapping.Validation.Rules.MultivaluedMappedToCollectionRule:
Public Member Functions | |
IEnumerable< ValidationResult > | Validate (Type documentType, SolrSchema solrSchema, IReadOnlyMappingManager mappingManager) |
Validates the specified the mapped document against the solr schema. |
Detailed Description
Represents a rule that validates that fields mapped to a solr field with mutilvalued set to true are of a type that implements IEnumerable{T}.
Member Function Documentation
IEnumerable<ValidationResult> SolrNet.Mapping.Validation.Rules.MultivaluedMappedToCollectionRule.Validate | ( | Type | documentType, |
SolrSchema | solrSchema, | ||
IReadOnlyMappingManager | mappingManager | ||
) |
Validates the specified the mapped document against the solr schema.
- Parameters:
-
documentType Document type solrSchema The solr schema. mappingManager The mapping manager.
- Returns:
- A collection of ValidationResult objects with any issues found during validation.
Implements SolrNet.Mapping.Validation.Rules.IValidationRule.
The documentation for this class was generated from the following file:
- SolrNet/Mapping/Validation/Rules/MultivaluedMappedToCollectionRule.cs
Generated on Sun May 3 2015 17:19:12 for SolrNet by 1.7.2