Skip to main content

TypeProperties

Assembly: ServiceStack.Text.dll
View Source
Declaration
public abstract class TypeProperties

Properties

Type

View Source
Declaration
public Type Type { get; protected set; }

PublicPropertyInfos

View Source
Declaration
public PropertyInfo[] PublicPropertyInfos { get; protected set; }

Fields

FactoryType

View Source
Declaration
public static readonly Type FactoryType

PropertyMap

View Source
Declaration
public readonly Dictionary<string, PropertyAccessor> PropertyMap

Methods

Get(Type)

View Source
Declaration
public static TypeProperties Get(Type type)
Returns

ServiceStack.TypeProperties

Parameters
TypeName
System.Typetype

GetAccessor(String)

View Source
Declaration
public PropertyAccessor GetAccessor(string propertyName)
Returns

ServiceStack.PropertyAccessor

Parameters
TypeName
System.StringpropertyName

GetPublicProperty(String)

View Source
Declaration
public PropertyInfo GetPublicProperty(string name)
Returns

System.Reflection.PropertyInfo

Parameters
TypeName
System.Stringname

GetPublicGetter(PropertyInfo)

View Source
Declaration
public GetMemberDelegate GetPublicGetter(PropertyInfo pi)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Reflection.PropertyInfopi

GetPublicGetter(String)

View Source
Declaration
public GetMemberDelegate GetPublicGetter(string name)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Stringname

GetPublicSetter(PropertyInfo)

View Source
Declaration
public SetMemberDelegate GetPublicSetter(PropertyInfo pi)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Reflection.PropertyInfopi

GetPublicSetter(String)

View Source
Declaration
public SetMemberDelegate GetPublicSetter(string name)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Stringname