Property | Type | Description | |
---|---|---|---|
_baseType | |||
_cachedFields | |||
_interface2mixinIndex | |||
_method2Delegate | |||
_method2Invocation | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod | ||
_mixins | object[] |
Method | Description | |
---|---|---|
NoFilterImpl ( |
Method | Description | |
---|---|---|
AddISerializable ( |
||
AddInterfaces ( |
||
BaseCodeGenerator ( |
||
BaseCodeGenerator ( |
||
CreateProperty ( |
Generate property implementation
|
|
CreateType ( ) : |
||
CreateTypeBuilder ( String typeName, |
||
CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, |
||
Filter ( |
||
GenerateCallbackMethodIfNecessary ( |
||
GenerateConstructor ( ) : |
Generates one public constructor receiving the IInterceptor instance and instantiating a hashtable Should be overrided to provided specific semantics, if necessary |
|
GenerateConstructorCode ( |
Common initializatio code for the default constructor
|
|
GenerateFields ( ) : void | ||
GenerateInterfaceImplementation ( |
|
|
GenerateMethodImplementation ( |
Generates implementation for each method.
|
|
GenerateMethods ( |
||
GenerateProperties ( |
||
GenerateTypeImplementation ( |
Iterates over the interfaces and generate implementation for each method in it.
|
|
GenerateTypeName ( |
||
GetCorrectMethod ( |
||
GetFromCache ( |
||
GetPseudoInvocationTarget ( |
||
GetTypeName ( |
Gets the name of a type, taking into consideration nested types.
|
|
ImplementCacheInvocationCache ( ) : void | ||
ImplementGetObjectData ( |
||
InspectAndRegisterInterfaces ( object mixins ) : System.Type[] | ||
IsInternalToDynamicProxy ( |
||
NormalizeNamespaceName ( String nsName ) : String |
Naive implementation, but valid for long namespaces Works by using only the last piece of the namespace
|
|
ObtainAvailableConstructor ( |
||
ObtainCallableFieldBuilderDelegate ( |
||
PostProcessMethod ( |
||
PreProcessMethod ( |
||
RegisterDelegateFieldToBeInitialized ( |
||
RegisterInCache ( |
||
WriteInterceptorInvocationMethod ( |
Writes the method implementation. This method generates the IL code for property get/set method and ordinary methods.
|
Method | Description | |
---|---|---|
ObtainMethodAttributes ( |
protected AddISerializable ( |
||
interfaces | ||
return | System.Type[] |
protected AddInterfaces ( |
||
interfacesToAdd | ||
interfaces | ||
return | System.Type[] |
protected BaseCodeGenerator ( |
||
moduleScope | ||
return | System |
protected BaseCodeGenerator ( |
||
moduleScope | ||
context | GeneratorContext | |
return | System |
protected CreateProperty ( |
||
property | ||
return |
protected CreateTypeBuilder ( String typeName, |
||
typeName | String | |
baseType | ||
interfaces | ||
return |
protected CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, |
||
codebuilder | Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder | |
arg1 | ||
arg2 | ||
return | void |
protected Filter ( |
||
mixinInterfaces | ||
return | System.Type[] |
protected GenerateCallbackMethodIfNecessary ( |
||
method | ||
invocationTarget | Reference | |
return |
protected GenerateConstructor ( ) : |
||
return |
protected GenerateConstructorCode ( |
||
codebuilder | ||
interceptorArg | Reference | |
targetArgument | Reference | |
mixinArray | Reference | |
return | void |
protected GenerateInterfaceImplementation ( |
||
interfaces | ||
return | void |
protected GenerateMethodImplementation ( |
||
method | ||
properties | ||
return | void |
protected GenerateMethods ( |
||
inter | ||
properties | ||
return | void |
protected GenerateProperties ( |
||
inter | ||
return | Castle.DynamicProxy.Builder.CodeBuilder.EasyProperty[] |
protected GenerateTypeImplementation ( |
||
type | Type class | |
ignoreInterfaces | bool | if true, we inspect the /// type for implemented interfaces |
return | void |
protected abstract GenerateTypeName ( |
||
type | ||
interfaces | ||
return | String |
protected GetCorrectMethod ( |
||
method | ||
return |
protected GetFromCache ( |
||
baseClass | ||
interfaces | ||
return |
protected GetPseudoInvocationTarget ( |
||
method | ||
return | Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.Expression |
protected GetTypeName ( |
||
type | ||
return | String |
protected ImplementCacheInvocationCache ( ) : void | ||
return | void |
protected ImplementGetObjectData ( |
||
interfaces | ||
return | void |
protected InspectAndRegisterInterfaces ( object mixins ) : System.Type[] | ||
mixins | object | |
return | System.Type[] |
protected IsInternalToDynamicProxy ( |
||
asm | ||
return | bool |
public static NoFilterImpl ( |
||
type | ||
criteria | object | |
return | bool |
protected NormalizeNamespaceName ( String nsName ) : String | ||
nsName | String | |
return | String |
protected ObtainAvailableConstructor ( |
||
target | ||
return |
protected ObtainCallableFieldBuilderDelegate ( |
||
builder | ||
return |
protected PostProcessMethod ( |
||
method | ||
return | void |
protected PreProcessMethod ( |
||
method | ||
return | void |
protected RegisterDelegateFieldToBeInitialized ( |
||
method | ||
field | ||
builder | ||
callbackMethod | ||
return | void |
protected RegisterInCache ( |
||
generatedType | ||
return | void |
protected WriteInterceptorInvocationMethod ( |
||
method | The method to implement. | |
builder | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod | |
return | void |
protected ArrayList,System.Collections _cachedFields | ||
return |
protected HybridDictionary,System.Collections.Specialized _interface2mixinIndex | ||
return |
protected Hashtable,System.Collections _method2Delegate | ||
return |
protected EasyMethod,Castle.DynamicProxy.Builder.CodeBuilder _method2Invocation | ||
return | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod |