Skip to main content

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
TypeName
System.Typetype

CreateGetter(PropertyInfo)

View Source
Declaration
public abstract GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Reflection.PropertyInfopropertyInfo

CreateGetter<T>(PropertyInfo)

View Source
Declaration
public abstract GetMemberDelegate<T> CreateGetter<T>(PropertyInfo propertyInfo)
Returns

ServiceStack.GetMemberDelegate<T>

Parameters
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters
  • T

CreateSetter(PropertyInfo)

View Source
Declaration
public abstract SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Reflection.PropertyInfopropertyInfo

CreateSetter<T>(PropertyInfo)

View Source
Declaration
public abstract SetMemberDelegate<T> CreateSetter<T>(PropertyInfo propertyInfo)
Returns

ServiceStack.SetMemberDelegate<T>

Parameters
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters
  • T

CreateGetter(FieldInfo)

View Source
Declaration
public abstract GetMemberDelegate CreateGetter(FieldInfo fieldInfo)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofieldInfo

CreateGetter<T>(FieldInfo)

View Source
Declaration
public abstract GetMemberDelegate<T> CreateGetter<T>(FieldInfo fieldInfo)
Returns

ServiceStack.GetMemberDelegate<T>

Parameters
TypeName
System.Reflection.FieldInfofieldInfo
Type Parameters
  • T

CreateSetter(FieldInfo)

View Source
Declaration
public abstract SetMemberDelegate CreateSetter(FieldInfo fieldInfo)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofieldInfo

CreateSetter<T>(FieldInfo)

View Source
Declaration
public abstract SetMemberDelegate<T> CreateSetter<T>(FieldInfo fieldInfo)
Returns

ServiceStack.SetMemberDelegate<T>

Parameters
TypeName
System.Reflection.FieldInfofieldInfo
Type Parameters
  • T

CreateSetterRef<T>(FieldInfo)

View Source
Declaration
public abstract SetMemberRefDelegate<T> CreateSetterRef<T>(FieldInfo fieldInfo)
Returns

ServiceStack.SetMemberRefDelegate<T>

Parameters
TypeName
System.Reflection.FieldInfofieldInfo
Type Parameters
  • T

IsDynamic(Assembly)

View Source
Declaration
public abstract bool IsDynamic(Assembly assembly)
Returns

System.Boolean

Parameters
TypeName
System.Reflection.Assemblyassembly

CreateConstructor(Type)

View Source
Declaration
public abstract EmptyCtorDelegate CreateConstructor(Type type)
Returns

ServiceStack.EmptyCtorDelegate

Parameters
TypeName
System.Typetype