X3Platform 帮助文档
X3Platform 帮助文档
X3Platform
X3Platform.DynamicProxy.Builder.CodeGenerators
BaseCodeGenerator Class
BaseCodeGenerator Methods
AddISerializable Method
CreateProperty Method
CreateType Method
CreateTypeBuilder Method
CustomizeGetObjectData Method
Filter Method
GenerateCallbackMethodIfNecessary Method
GenerateConstructor Method
GenerateConstructorCode Method
GenerateFields Method
GenerateInterfaceImplementation Method
GenerateMethodImplementation Method
GenerateMethods Method
GenerateProperties Method
GenerateTypeImplementation Method
GenerateTypeName Method
GetCorrectMethod Method
GetFromCache Method
GetPseudoInvocationTarget Method
GetTypeName Method
ImplementCacheInvocationCache Method
ImplementGetObjectData Method
InspectAndRegisterInterfaces Method
IsInternalToDynamicProxy Method
NoFilterImpl Method
NormalizeNamespaceName Method
ObtainAvailableConstructor Method
ObtainCallableFieldBuilderDelegate Method
PostProcessMethod Method
PreProcessMethod Method
RegisterDelegateFieldToBeInitialized Method
RegisterInCache Method
WriteInterceptorInvocationMethod Method
BaseCodeGenerator Methods
The
BaseCodeGenerator
type exposes the following members.
Methods
Name
Description
AddISerializable
CreateProperty
Generate property implementation
CreateType
CreateTypeBuilder
CustomizeGetObjectData
Equals
(Inherited from
Object
.)
Filter
Finalize
(Inherited from
Object
.)
GenerateCallbackMethodIfNecessary
GenerateConstructor
Generates one public constructor receiving the
IInterceptor
instance and instantiating a hashtable
GenerateConstructorCode
Common initializatio code for the default constructor
GenerateFields
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
GetHashCode
(Inherited from
Object
.)
GetPseudoInvocationTarget
GetType
(Inherited from
Object
.)
GetTypeName
Gets the name of a type, taking into consideration nested types.
ImplementCacheInvocationCache
ImplementGetObjectData
InspectAndRegisterInterfaces
IsInternalToDynamicProxy
MemberwiseClone
(Inherited from
Object
.)
NoFilterImpl
NormalizeNamespaceName
Naive implementation, but valid for long namespaces Works by using only the last piece of the namespace
ObtainAvailableConstructor
ObtainCallableFieldBuilderDelegate
PostProcessMethod
PreProcessMethod
RegisterDelegateFieldToBeInitialized
RegisterInCache
ToString
(Inherited from
Object
.)
WriteInterceptorInvocationMethod
Writes the method implementation. This method generates the IL code for property get/set method and ordinary methods.
Top
See Also
Reference
BaseCodeGenerator Class
X3Platform.DynamicProxy.Builder.CodeGenerators Namespace