SolrNet: SolrNet.Mapping.Validation.Rules.MultivaluedMappedToCollectionRule Class Reference

SolrNet

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:

List of all members.

Public Member Functions

IEnumerable< ValidationResultValidate (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:
documentTypeDocument type
solrSchemaThe solr schema.
mappingManagerThe 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  doxygen 1.7.2