Skip to main content

TypeFields

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

Properties

Type

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

PublicFieldInfos

View Source
Declaration
public FieldInfo[] PublicFieldInfos { get; protected set; }

Fields

FactoryType

View Source
Declaration
public static Type FactoryType

FieldsMap

View Source
Declaration
public readonly Dictionary<string, FieldAccessor> FieldsMap

Methods

Get(Type)

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

ServiceStack.TypeFields

Parameters
TypeName
System.Typetype

GetAccessor(String)

View Source
Declaration
public FieldAccessor GetAccessor(string propertyName)
Returns

ServiceStack.FieldAccessor

Parameters
TypeName
System.StringpropertyName

GetPublicField(String)

View Source
Declaration
public virtual FieldInfo GetPublicField(string name)
Returns

System.Reflection.FieldInfo

Parameters
TypeName
System.Stringname

GetPublicGetter(FieldInfo)

View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(FieldInfo fi)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofi

GetPublicGetter(String)

View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(string name)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Stringname

GetPublicSetter(FieldInfo)

View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(FieldInfo fi)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofi

GetPublicSetter(String)

View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(string name)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Stringname

GetPublicSetterRef(String)

View Source
Declaration
public virtual SetMemberRefDelegate GetPublicSetterRef(string name)
Returns

ServiceStack.SetMemberRefDelegate

Parameters
TypeName
System.Stringname