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
Parameters
Type | Name |
---|---|
System.Type | type |
GetAccessor(String)
View Source
Declaration
public PropertyAccessor GetAccessor(string propertyName)
Returns
Parameters
Type | Name |
---|---|
System.String | propertyName |
GetPublicProperty(String)
View Source
Declaration
public PropertyInfo GetPublicProperty(string name)
Returns
System.Reflection.PropertyInfo
Parameters
Type | Name |
---|---|
System.String | name |
GetPublicGetter(PropertyInfo)
View Source
Declaration
public GetMemberDelegate GetPublicGetter(PropertyInfo pi)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | pi |
GetPublicGetter(String)
View Source
Declaration
public GetMemberDelegate GetPublicGetter(string name)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.String | name |
GetPublicSetter(PropertyInfo)
View Source
Declaration
public SetMemberDelegate GetPublicSetter(PropertyInfo pi)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | pi |
GetPublicSetter(String)
View Source
Declaration
public SetMemberDelegate GetPublicSetter(string name)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.String | name |