Property | Type | Description | |
---|---|---|---|
targetType | Type |
Method | Description | |
---|---|---|
AddMapping ( |
||
AddMappingForISerializable ( ITypeContributor>.IDictionary |
||
AddMappingNoCheck ( |
It is safe to add mapping (no mapping for the interface exists)
|
|
AddToCache ( CacheKey key, Type type ) : void | ||
BaseProxyGenerator ( ModuleScope scope, Type targetType ) : System | ||
BuildClassEmitter ( string typeName, Type parentType, IEnumerable |
||
CheckNotGenericTypeDefinition ( Type type, string argumentName ) : void | ||
CheckNotGenericTypeDefinitions ( IEnumerable |
||
CompleteInitCacheMethod ( ConstructorCodeBuilder constCodeBuilder ) : void | ||
CreateFields ( ClassEmitter emitter ) : void | ||
CreateInterceptorsField ( ClassEmitter emitter ) : void | ||
CreateOptionsField ( ClassEmitter emitter ) : FieldReference | ||
CreateSelectorField ( ClassEmitter emitter ) : void | ||
CreateTypeAttributes ( ClassEmitter emitter ) : void | ||
EnsureOptionsOverrideEqualsAndGetHashCode ( ProxyGenerationOptions options ) : void | ||
GenerateConstructor ( ClassEmitter emitter, ConstructorInfo baseConstructor ) : void | ||
GenerateConstructors ( ClassEmitter emitter, Type baseType ) : void | ||
GenerateParameterlessConstructor ( ClassEmitter emitter, Type baseClass, FieldReference interceptorField ) : void |
Generates a parameters constructor that initializes the proxy state with StandardInterceptor just to make it non-null. This constructor is important to allow proxies to be XML serializable
|
|
GenerateStaticConstructor ( ClassEmitter emitter ) : ConstructorEmitter | ||
GetFromCache ( CacheKey key ) : Type | ||
HandleExplicitlyPassedProxyTargetAccessor ( ICollection |
||
InitializeStaticFields ( Type builtType ) : void | ||
ObtainProxyType ( CacheKey cacheKey, Func |
Method | Description | |
---|---|---|
IsConstructorVisible ( ConstructorInfo constructor ) : bool | ||
OverridesEqualsAndGetHashCode ( Type type ) : bool |
protected AddMapping ( |
||
@interface | ||
implementer | ITypeContributor | |
mapping | ITypeContributor>.IDictionary | |
return | void |
protected AddMappingForISerializable ( ITypeContributor>.IDictionary |
||
typeImplementerMapping | ITypeContributor>.IDictionary | |
instance | ITypeContributor | |
return | void |
protected AddMappingNoCheck ( |
||
@interface | ||
implementer | ITypeContributor | |
mapping | ITypeContributor>.IDictionary | |
return | void |
protected AddToCache ( CacheKey key, Type type ) : void | ||
key | CacheKey | |
type | Type | |
return | void |
protected BaseProxyGenerator ( ModuleScope scope, Type targetType ) : System | ||
scope | ModuleScope | |
targetType | Type | |
return | System |
protected BuildClassEmitter ( string typeName, Type parentType, IEnumerable |
||
typeName | string | |
parentType | Type | |
interfaces | IEnumerable |
|
return | ClassEmitter |
protected CheckNotGenericTypeDefinition ( Type type, string argumentName ) : void | ||
type | Type | |
argumentName | string | |
return | void |
protected CheckNotGenericTypeDefinitions ( IEnumerable |
||
types | IEnumerable |
|
argumentName | string | |
return | void |
protected CompleteInitCacheMethod ( ConstructorCodeBuilder constCodeBuilder ) : void | ||
constCodeBuilder | ConstructorCodeBuilder | |
return | void |
protected CreateFields ( ClassEmitter emitter ) : void | ||
emitter | ClassEmitter | |
return | void |
protected CreateInterceptorsField ( ClassEmitter emitter ) : void | ||
emitter | ClassEmitter | |
return | void |
protected CreateOptionsField ( ClassEmitter emitter ) : FieldReference | ||
emitter | ClassEmitter | |
return | FieldReference |
protected CreateSelectorField ( ClassEmitter emitter ) : void | ||
emitter | ClassEmitter | |
return | void |
protected CreateTypeAttributes ( ClassEmitter emitter ) : void | ||
emitter | ClassEmitter | |
return | void |
protected EnsureOptionsOverrideEqualsAndGetHashCode ( ProxyGenerationOptions options ) : void | ||
options | ProxyGenerationOptions | |
return | void |
protected GenerateConstructor ( ClassEmitter emitter, ConstructorInfo baseConstructor ) : void | ||
emitter | ClassEmitter | |
baseConstructor | ConstructorInfo | |
return | void |
protected GenerateConstructors ( ClassEmitter emitter, Type baseType ) : void | ||
emitter | ClassEmitter | |
baseType | Type | |
return | void |
protected GenerateParameterlessConstructor ( ClassEmitter emitter, Type baseClass, FieldReference interceptorField ) : void | ||
emitter | ClassEmitter | |
baseClass | Type | |
interceptorField | FieldReference | |
return | void |
protected GenerateStaticConstructor ( ClassEmitter emitter ) : ConstructorEmitter | ||
emitter | ClassEmitter | |
return | ConstructorEmitter |
protected GetFromCache ( CacheKey key ) : Type | ||
key | CacheKey | |
return | Type |
protected HandleExplicitlyPassedProxyTargetAccessor ( ICollection |
||
targetInterfaces | ICollection |
|
additionalInterfaces | ICollection |
|
return | void |
protected InitializeStaticFields ( Type builtType ) : void | ||
builtType | Type | |
return | void |
protected ObtainProxyType ( CacheKey cacheKey, Func |
||
cacheKey | CacheKey | |
factory | Func |
|
return | Type |