Skip to main content

ExpressionReflectionOptimizer

Assembly: ServiceStack.Text.dll​
View Source​
Declaration
public sealed class ExpressionReflectionOptimizer : ReflectionOptimizer

Properties​

Provider​

View Source​
Declaration
public static ExpressionReflectionOptimizer Provider { get; }

Methods​

UseType(Type)​

View Source​
Declaration
public override Type UseType(Type type)
Returns​

System.Type

Parameters​
TypeName
System.Typetype

CreateGetter(PropertyInfo)​

View Source​
Declaration
public override GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
Returns​

ServiceStack.GetMemberDelegate

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo

GetExpressionLambda(PropertyInfo)​

View Source​
Declaration
public static Expression<GetMemberDelegate> GetExpressionLambda(PropertyInfo propertyInfo)
Returns​

System.Linq.Expressions.Expression<ServiceStack.GetMemberDelegate>

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo

CreateGetter<T>(PropertyInfo)​

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

ServiceStack.GetMemberDelegate<T>

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters​
  • T

GetExpressionLambda<T>(PropertyInfo)​

View Source​
Declaration
public static Expression<GetMemberDelegate<T>> GetExpressionLambda<T>(PropertyInfo propertyInfo)
Returns​

System.Linq.Expressions.Expression<ServiceStack.GetMemberDelegate<<T>>>

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters​
  • T

CreateSetter(PropertyInfo)​

View Source​
Declaration
public override SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
Returns​

ServiceStack.SetMemberDelegate

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo

CreateSetter<T>(PropertyInfo)​

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

ServiceStack.SetMemberDelegate<T>

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters​
  • T

SetExpressionLambda<T>(PropertyInfo)​

View Source​
Declaration
public static Expression<SetMemberDelegate<T>> SetExpressionLambda<T>(PropertyInfo propertyInfo)
Returns​

System.Linq.Expressions.Expression<ServiceStack.SetMemberDelegate<<T>>>

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo
Type Parameters​
  • T

CreateGetter(FieldInfo)​

View Source​
Declaration
public override GetMemberDelegate CreateGetter(FieldInfo fieldInfo)
Returns​

ServiceStack.GetMemberDelegate

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo

CreateGetter<T>(FieldInfo)​

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

ServiceStack.GetMemberDelegate<T>

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo
Type Parameters​
  • T

CreateSetter(FieldInfo)​

View Source​
Declaration
public override SetMemberDelegate CreateSetter(FieldInfo fieldInfo)
Returns​

ServiceStack.SetMemberDelegate

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo

CreateSetter<T>(FieldInfo)​

View Source​
Declaration
public override 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 override SetMemberRefDelegate<T> CreateSetterRef<T>(FieldInfo fieldInfo)
Returns​

ServiceStack.SetMemberRefDelegate<T>

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo
Type Parameters​
  • T

IsDynamic(Assembly)​

View Source​
Declaration
public override bool IsDynamic(Assembly assembly)
Returns​

System.Boolean

Parameters​
TypeName
System.Reflection.Assemblyassembly

CreateConstructor(Type)​

View Source​
Declaration
public override EmptyCtorDelegate CreateConstructor(Type type)
Returns​

ServiceStack.EmptyCtorDelegate

Parameters​
TypeName
System.Typetype

Inherited Methods​

CreateConstructor(Type)​

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

ServiceStack.EmptyCtorDelegate

Parameters​
TypeName
System.Typetype

CreateGetter(FieldInfo)​

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

ServiceStack.GetMemberDelegate

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo

CreateGetter(PropertyInfo)​

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

ServiceStack.GetMemberDelegate

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo

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

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(FieldInfo)​

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

ServiceStack.SetMemberDelegate

Parameters​
TypeName
System.Reflection.FieldInfofieldInfo

CreateSetter(PropertyInfo)​

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

ServiceStack.SetMemberDelegate

Parameters​
TypeName
System.Reflection.PropertyInfopropertyInfo

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

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

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

UseType(Type)​

View Source​
Declaration
public abstract Type UseType(Type type)
Returns​

System.Type

Parameters​
TypeName
System.Typetype