SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer Class Reference
Serializes IDictionary{TKey,TValue} properties. More...
Inheritance diagram for SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer:
Public Member Functions | |
GenericDictionaryFieldSerializer (ISolrFieldSerializer serializer) | |
bool | CanHandleType (Type t) |
True if this serializer can handle the type. | |
string | KVKey (object kv) |
Gets the key from a KeyValuePair{TKey,TValue} | |
object | KVValue (object kv) |
Gets the value from a KeyValuePair{TKey,TValue} | |
IEnumerable< PropertyNode > | Serialize (object obj) |
Serializes a value to be consumed by the Solr update handler. |
Detailed Description
Serializes IDictionary{TKey,TValue} properties.
Member Function Documentation
bool SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer.CanHandleType | ( | Type | t ) |
True if this serializer can handle the type.
- Parameters:
-
t
- Returns:
Implements SolrNet.Impl.ISolrFieldSerializer.
string SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer.KVKey | ( | object | kv ) |
Gets the key from a KeyValuePair{TKey,TValue}
- Parameters:
-
kv
- Returns:
object SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer.KVValue | ( | object | kv ) |
Gets the value from a KeyValuePair{TKey,TValue}
- Parameters:
-
kv
- Returns:
IEnumerable<PropertyNode> SolrNet.Impl.FieldSerializers.GenericDictionaryFieldSerializer.Serialize | ( | object | obj ) |
Serializes a value to be consumed by the Solr update handler.
- Parameters:
-
obj object to serialize
- Returns:
- List of PropertyNodes, each represents a XML node to be passed to the Solr update handler
Implements SolrNet.Impl.ISolrFieldSerializer.
The documentation for this class was generated from the following file:
- SolrNet/Impl/FieldSerializers/GenericDictionaryFieldSerializer.cs
Generated on Sun May 3 2015 17:19:10 for SolrNet by 1.7.2