Свойство | Type | Description | |
---|---|---|---|
_baseType | |||
_cachedFields | |||
_interface2mixinIndex | |||
_method2Delegate | |||
_method2Invocation | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod | ||
_mixins | object[] |
Méthode | Description | |
---|---|---|
NoFilterImpl ( |
Méthode | 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.
|
Méthode | Description | |
---|---|---|
ObtainMethodAttributes ( |
protected AddISerializable ( |
||
interfaces | ||
Résultat | System.Type[] |
protected AddInterfaces ( |
||
interfacesToAdd | ||
interfaces | ||
Résultat | System.Type[] |
protected BaseCodeGenerator ( |
||
moduleScope | ||
Résultat | System |
protected BaseCodeGenerator ( |
||
moduleScope | ||
context | GeneratorContext | |
Résultat | System |
protected CreateProperty ( |
||
property | ||
Résultat |
protected CreateTypeBuilder ( String typeName, |
||
typeName | String | |
baseType | ||
interfaces | ||
Résultat |
protected CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, |
||
codebuilder | Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder | |
arg1 | ||
arg2 | ||
Résultat | void |
protected Filter ( |
||
mixinInterfaces | ||
Résultat | System.Type[] |
protected GenerateCallbackMethodIfNecessary ( |
||
method | ||
invocationTarget | Reference | |
Résultat |
protected GenerateConstructor ( ) : |
||
Résultat |
protected GenerateConstructorCode ( |
||
codebuilder | ||
interceptorArg | Reference | |
targetArgument | Reference | |
mixinArray | Reference | |
Résultat | void |
protected GenerateInterfaceImplementation ( |
||
interfaces | ||
Résultat | void |
protected GenerateMethodImplementation ( |
||
method | ||
properties | ||
Résultat | void |
protected GenerateMethods ( |
||
inter | ||
properties | ||
Résultat | void |
protected GenerateProperties ( |
||
inter | ||
Résultat | Castle.DynamicProxy.Builder.CodeBuilder.EasyProperty[] |
protected GenerateTypeImplementation ( |
||
type | Type class | |
ignoreInterfaces | bool | if true, we inspect the /// type for implemented interfaces |
Résultat | void |
protected abstract GenerateTypeName ( |
||
type | ||
interfaces | ||
Résultat | String |
protected GetCorrectMethod ( |
||
method | ||
Résultat |
protected GetFromCache ( |
||
baseClass | ||
interfaces | ||
Résultat |
protected GetPseudoInvocationTarget ( |
||
method | ||
Résultat | Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.Expression |
protected GetTypeName ( |
||
type | ||
Résultat | String |
protected ImplementCacheInvocationCache ( ) : void | ||
Résultat | void |
protected ImplementGetObjectData ( |
||
interfaces | ||
Résultat | void |
protected InspectAndRegisterInterfaces ( object mixins ) : System.Type[] | ||
mixins | object | |
Résultat | System.Type[] |
protected IsInternalToDynamicProxy ( |
||
asm | ||
Résultat | bool |
public static NoFilterImpl ( |
||
type | ||
criteria | object | |
Résultat | bool |
protected NormalizeNamespaceName ( String nsName ) : String | ||
nsName | String | |
Résultat | String |
protected ObtainAvailableConstructor ( |
||
target | ||
Résultat |
protected ObtainCallableFieldBuilderDelegate ( |
||
builder | ||
Résultat |
protected PostProcessMethod ( |
||
method | ||
Résultat | void |
protected PreProcessMethod ( |
||
method | ||
Résultat | void |
protected RegisterDelegateFieldToBeInitialized ( |
||
method | ||
field | ||
builder | ||
callbackMethod | ||
Résultat | void |
protected RegisterInCache ( |
||
generatedType | ||
Résultat | void |
protected WriteInterceptorInvocationMethod ( |
||
method | The method to implement. | |
builder | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod | |
Résultat | void |
protected ArrayList,System.Collections _cachedFields | ||
Résultat |
protected HybridDictionary,System.Collections.Specialized _interface2mixinIndex | ||
Résultat |
protected Hashtable,System.Collections _method2Delegate | ||
Résultat |
protected EasyMethod,Castle.DynamicProxy.Builder.CodeBuilder _method2Invocation | ||
Résultat | Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod |