Click or drag to resize
InterfaceProxyGenerator Methods

The InterfaceProxyGenerator type exposes the following members.

Methods
  NameDescription
Protected methodAddISerializable (Inherited from BaseCodeGenerator.)
Protected methodCreateProperty
Generate property implementation
(Inherited from BaseCodeGenerator.)
Protected methodCreateType (Inherited from BaseCodeGenerator.)
Protected methodCreateTypeBuilder (Inherited from BaseCodeGenerator.)
Protected methodCustomizeGetObjectData (Overrides BaseCodeGeneratorCustomizeGetObjectData(AbstractCodeBuilder, ArgumentReference, ArgumentReference).)
Public methodEquals (Inherited from Object.)
Protected methodFilter (Inherited from BaseCodeGenerator.)
Protected methodFinalize (Inherited from Object.)
Protected methodGenerateCallbackMethodIfNecessary (Overrides BaseCodeGeneratorGenerateCallbackMethodIfNecessary(MethodInfo, Reference).)
Public methodGenerateCode
Protected methodGenerateConstructor
Generates one public constructor receiving the IInterceptor instance and instantiating a HybridCollection
(Overrides BaseCodeGeneratorGenerateConstructor.)
Protected methodGenerateConstructorCode
Common initializatio code for the default constructor
(Inherited from BaseCodeGenerator.)
Protected methodGenerateFields (Overrides BaseCodeGeneratorGenerateFields.)
Protected methodGenerateInterfaceImplementation
(Inherited from BaseCodeGenerator.)
Protected methodGenerateMethodImplementation
Generates implementation for each method.
(Inherited from BaseCodeGenerator.)
Protected methodGenerateMethods (Inherited from BaseCodeGenerator.)
Protected methodGenerateProperties (Inherited from BaseCodeGenerator.)
Protected methodGenerateTypeImplementation
Iterates over the interfaces and generate implementation for each method in it.
(Inherited from BaseCodeGenerator.)
Protected methodGenerateTypeName (Overrides BaseCodeGeneratorGenerateTypeName(Type, Type).)
Protected methodGetCorrectMethod
From an interface method (abstract) look up for a matching method on the target
(Overrides BaseCodeGeneratorGetCorrectMethod(MethodInfo).)
Protected methodGetFromCache (Inherited from BaseCodeGenerator.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetPseudoInvocationTarget (Overrides BaseCodeGeneratorGetPseudoInvocationTarget(MethodInfo).)
Public methodGetType (Inherited from Object.)
Protected methodGetTypeName
Gets the name of a type, taking into consideration nested types.
(Inherited from BaseCodeGenerator.)
Protected methodImplementCacheInvocationCache (Inherited from BaseCodeGenerator.)
Protected methodImplementGetObjectData (Inherited from BaseCodeGenerator.)
Protected methodInspectAndRegisterInterfaces (Inherited from BaseCodeGenerator.)
Protected methodIsInternalToDynamicProxy (Inherited from BaseCodeGenerator.)
Protected methodJoin
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNormalizeNamespaceName
Naive implementation, but valid for long namespaces Works by using only the last piece of the namespace
(Inherited from BaseCodeGenerator.)
Protected methodObtainAvailableConstructor (Inherited from BaseCodeGenerator.)
Protected methodObtainCallableFieldBuilderDelegate (Inherited from BaseCodeGenerator.)
Protected methodPostProcessMethod (Inherited from BaseCodeGenerator.)
Protected methodPreProcessMethod (Inherited from BaseCodeGenerator.)
Protected methodRegisterDelegateFieldToBeInitialized (Inherited from BaseCodeGenerator.)
Protected methodRegisterInCache (Inherited from BaseCodeGenerator.)
Public methodToString (Inherited from Object.)
Protected methodWriteInterceptorInvocationMethod
Writes the method implementation. This method generates the IL code for property get/set method and ordinary methods.
(Inherited from BaseCodeGenerator.)
Top
See Also