ReflectionOptimizer
Assembly: ServiceStack.Text.dll
View Source
Declaration
public abstract class ReflectionOptimizer
Fields
Instance
View Source
Declaration
public static ReflectionOptimizer Instance
Methods
UseType(Type)
View Source
Declaration
public abstract Type UseType(Type type)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | type |
CreateGetter(PropertyInfo)
View Source
Declaration
public abstract GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
CreateGetter<T>(PropertyInfo)
View Source
Declaration
public abstract GetMemberDelegate<T> CreateGetter<T>(PropertyInfo propertyInfo)
Returns
ServiceStack.GetMemberDelegate<T>
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
Type Parameters
T
CreateSetter(PropertyInfo)
View Source
Declaration
public abstract SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
CreateSetter<T>(PropertyInfo)
View Source
Declaration
public abstract SetMemberDelegate<T> CreateSetter<T>(PropertyInfo propertyInfo)
Returns
ServiceStack.SetMemberDelegate<T>
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
Type Parameters
T
CreateGetter(FieldInfo)
View Source
Declaration
public abstract GetMemberDelegate CreateGetter(FieldInfo fieldInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateGetter<T>(FieldInfo)
View Source
Declaration
public abstract GetMemberDelegate<T> CreateGetter<T>(FieldInfo fieldInfo)
Returns
ServiceStack.GetMemberDelegate<T>
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
Type Parameters
T
CreateSetter(FieldInfo)
View Source
Declaration
public abstract SetMemberDelegate CreateSetter(FieldInfo fieldInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateSetter<T>(FieldInfo)
View Source
Declaration
public abstract SetMemberDelegate<T> CreateSetter<T>(FieldInfo fieldInfo)
Returns
ServiceStack.SetMemberDelegate<T>
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
Type Parameters
T
CreateSetterRef<T>(FieldInfo)
View Source
Declaration
public abstract SetMemberRefDelegate<T> CreateSetterRef<T>(FieldInfo fieldInfo)
Returns
ServiceStack.SetMemberRefDelegate<T>
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
Type Parameters
T
IsDynamic(Assembly)
View Source
Declaration
public abstract bool IsDynamic(Assembly assembly)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Reflection.Assembly | assembly |
CreateConstructor(Type)
View Source
Declaration
public abstract EmptyCtorDelegate CreateConstructor(Type type)
Returns
ServiceStack.EmptyCtorDelegate
Parameters
Type | Name |
---|---|
System.Type | type |