EmitReflectionOptimizer
Assembly: ServiceStack.Text.dll
View Source
Declaration
public sealed class EmitReflectionOptimizer : ReflectionOptimizer
Properties
Provider
View Source
Declaration
public static EmitReflectionOptimizer Provider { get; }
Methods
UseType(Type)
View Source
Declaration
public override Type UseType(Type type)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | type |
CreateGetter(PropertyInfo)
View Source
Declaration
public override GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
CreateGetter<T>(PropertyInfo)
View Source
Declaration
public override 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 override SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
CreateSetter<T>(PropertyInfo)
View Source
Declaration
public override 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 override GetMemberDelegate CreateGetter(FieldInfo fieldInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateGetter<T>(FieldInfo)
View Source
Declaration
public override 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 override SetMemberDelegate CreateSetter(FieldInfo fieldInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateSetter<T>(FieldInfo)
View Source
Declaration
public override 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 override 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 override bool IsDynamic(Assembly assembly)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Reflection.Assembly | assembly |
CreateConstructor(Type)
View Source
Declaration
public override EmptyCtorDelegate CreateConstructor(Type type)
Returns
ServiceStack.EmptyCtorDelegate
Parameters
Type | Name |
---|---|
System.Type | type |
Inherited Methods
CreateConstructor(Type)
View Source
Declaration
public abstract EmptyCtorDelegate CreateConstructor(Type type)
Returns
ServiceStack.EmptyCtorDelegate
Parameters
Type | Name |
---|---|
System.Type | type |
CreateGetter(FieldInfo)
View Source
Declaration
public abstract GetMemberDelegate CreateGetter(FieldInfo fieldInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateGetter(PropertyInfo)
View Source
Declaration
public abstract GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
Returns
ServiceStack.GetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
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
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(FieldInfo)
View Source
Declaration
public abstract SetMemberDelegate CreateSetter(FieldInfo fieldInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.FieldInfo | fieldInfo |
CreateSetter(PropertyInfo)
View Source
Declaration
public abstract SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
Returns
ServiceStack.SetMemberDelegate
Parameters
Type | Name |
---|---|
System.Reflection.PropertyInfo | propertyInfo |
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
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
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 |
UseType(Type)
View Source
Declaration
public abstract Type UseType(Type type)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | type |