London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class GenericDictionaryDocumentVisitor

Inheritance
System.Object
GenericDictionaryDocumentVisitor
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: SolrNet.Impl.DocumentPropertyVisitors
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class GenericDictionaryDocumentVisitor : ISolrDocumentPropertyVisitor

Constructors

GenericDictionaryDocumentVisitor(IReadOnlyMappingManager, ISolrFieldParser)

Declaration
public GenericDictionaryDocumentVisitor(IReadOnlyMappingManager mapper, ISolrFieldParser parser)
Parameters
Type Name Description
IReadOnlyMappingManager mapper
ISolrFieldParser parser

Methods

CanHandleType(Type)

Declaration
public bool CanHandleType(Type t)
Parameters
Type Name Description
System.Type t
Returns
Type Description
System.Boolean

ConvertTo(String, Type)

Declaration
public object ConvertTo(string s, Type t)
Parameters
Type Name Description
System.String s
System.Type t
Returns
Type Description
System.Object

GetKeyToUse(String, String)

Declaration
public string GetKeyToUse(string k, string fieldName)
Parameters
Type Name Description
System.String k
System.String fieldName
Returns
Type Description
System.String

GetThisField(Type, String)

Declaration
public KeyValuePair<PropertyInfo, string> GetThisField(Type t, string fieldName)
Parameters
Type Name Description
System.Type t
System.String fieldName
Returns
Type Description
System.Collections.Generic.KeyValuePair<System.Reflection.PropertyInfo, System.String>

NewDictionary(Type[])

Declaration
public object NewDictionary(Type[] typeArgs)
Parameters
Type Name Description
System.Type[] typeArgs
Returns
Type Description
System.Object

SetKV(Object, Object, Object)

Declaration
public void SetKV(object dict, object key, object value)
Parameters
Type Name Description
System.Object dict
System.Object key
System.Object value

Visit(Object, String, XmlNode)

Declaration
public void Visit(object doc, string fieldName, XmlNode field)
Parameters
Type Name Description
System.Object doc
System.String fieldName
System.Xml.XmlNode field

Implements