SolrNet.Impl.FieldParsers.NullableFieldParser Class Reference
Wraps a ISolrFieldParser making it support the corresponding Nullable{T} type. More...
Inheritance diagram for SolrNet.Impl.FieldParsers.NullableFieldParser:
Public Member Functions | |
NullableFieldParser (ISolrFieldParser parser) | |
bool | CanHandleSolrType (string solrType) |
True if this parser can handle the solrType (int, bool, str, ...) | |
bool | CanHandleType (Type t) |
True if this parser can handle a type. | |
object | Parse (XElement field, Type t) |
Parses a single Solr XML result node. |
Detailed Description
Wraps a ISolrFieldParser making it support the corresponding Nullable{T} type.
Member Function Documentation
bool SolrNet.Impl.FieldParsers.NullableFieldParser.CanHandleSolrType | ( | string | solrType ) |
True if this parser can handle the solrType (int, bool, str, ...)
- Parameters:
-
solrType
- Returns:
Implements SolrNet.Impl.ISolrFieldParser.
bool SolrNet.Impl.FieldParsers.NullableFieldParser.CanHandleType | ( | Type | t ) |
True if this parser can handle a type.
- Parameters:
-
t
- Returns:
Implements SolrNet.Impl.ISolrFieldParser.
object SolrNet.Impl.FieldParsers.NullableFieldParser.Parse | ( | XElement | field, |
Type | t | ||
) |
Parses a single Solr XML result node.
- Parameters:
-
field Solr XML result node t Type the node value should be converted to
- Returns:
- Parsed value
Implements SolrNet.Impl.ISolrFieldParser.
The documentation for this class was generated from the following file:
- SolrNet/Impl/FieldParsers/NullableFieldParser.cs
Generated on Sun May 3 2015 17:19:10 for SolrNet by 1.7.2