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 AttributesMappingManager

Inheritance
System.Object
AttributesMappingManager
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.Mapping
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class AttributesMappingManager : IReadOnlyMappingManager

Constructors

AttributesMappingManager()

Declaration
public AttributesMappingManager()

Methods

GetCustomAttributes<T>(PropertyInfo)

Declaration
public T[] GetCustomAttributes<T>(PropertyInfo prop)
    where T : Attribute
Parameters
Type Name Description
System.Reflection.PropertyInfo prop
Returns
Type Description
T[]
Type Parameters
Name Description
T

GetFields(Type)

Declaration
public ICollection<KeyValuePair<PropertyInfo, string>> GetFields(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Reflection.PropertyInfo, System.String>>

GetPropertiesWithAttribute<T>(Type)

Declaration
public IEnumerable<KeyValuePair<PropertyInfo, T[]>> GetPropertiesWithAttribute<T>(Type type)
    where T : Attribute
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Reflection.PropertyInfo, T[]>>
Type Parameters
Name Description
T

GetRegisteredTypes()

Declaration
public ICollection<Type> GetRegisteredTypes()
Returns
Type Description
System.Collections.Generic.ICollection<System.Type>

GetUniqueKey(Type)

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

Implements