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
Parameters
Type | Name |
---|---|
System.Type | type |
GetAccessor(String)
View Source
Declaration
public FieldAccessor GetAccessor(string propertyName)
Returns
Parameters
Type | Name |
---|---|
System.String | propertyName |
GetPublicField(String)
View Source
Declaration
public virtual FieldInfo GetPublicField(string name)
Returns
System.Reflection.FieldInfo
Parameters
Type | Name |
---|---|
System.String | name |
GetPublicGetter(FieldInfo)
View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(FieldInfo fi)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fi |
GetPublicGetter(String)
View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(string name)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.String | name |
GetPublicSetter(FieldInfo)
View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(FieldInfo fi)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fi |
GetPublicSetter(String)
View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(string name)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.String | name |
GetPublicSetterRef(String)
View Source
Declaration
public virtual SetMemberRefDelegate GetPublicSetterRef(string name)
Returns
ServiceStack.SetMemberRefDelegate
Parameters
Type | Name |
---|---|
System.String | name |