C# Class Castle.DynamicProxy.Builder.CodeGenerators.ClassProxyGenerator

Inheritance: BaseCodeGenerator
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Protected Properties

Свойство Type Description
_serializationConstructor System.Reflection.ConstructorInfo

Méthodes publiques

Méthode Description
ClassProxyGenerator ( ModuleScope scope ) : System
ClassProxyGenerator ( ModuleScope scope, GeneratorContext context ) : System
GenerateCode ( Type baseClass ) : Type
GenerateCode ( Type baseClass, Type interfaces ) : Type
GenerateCustomCode ( Type baseClass, Type interfaces ) : Type

Méthodes protégées

Méthode Description
CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, ArgumentReference arg1, ArgumentReference arg2 ) : void
GenerateConstructor ( ConstructorInfo baseConstructor ) : EasyConstructor

Generates one public constructor receiving the IInterceptor instance and instantiating a hashtable

GenerateConstructors ( Type baseClass ) : void
GenerateSerializationConstructor ( ) : void
GenerateTypeName ( Type type, Type interfaces ) : String
Join ( Type interfaces, Type mixinInterfaces ) : System.Type[]
SkipDefaultInterfaceImplementation ( Type interfaces ) : void
VerifyIfBaseImplementsGetObjectData ( Type baseType ) : bool

Method Details

ClassProxyGenerator() public méthode

public ClassProxyGenerator ( ModuleScope scope ) : System
scope ModuleScope
Résultat System

ClassProxyGenerator() public méthode

public ClassProxyGenerator ( ModuleScope scope, GeneratorContext context ) : System
scope ModuleScope
context GeneratorContext
Résultat System

CustomizeGetObjectData() protected méthode

protected CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, ArgumentReference arg1, ArgumentReference arg2 ) : void
codebuilder Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder
arg1 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.ArgumentReference
arg2 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.ArgumentReference
Résultat void

GenerateCode() public méthode

public GenerateCode ( Type baseClass ) : Type
baseClass System.Type
Résultat System.Type

GenerateCode() public méthode

public GenerateCode ( Type baseClass, Type interfaces ) : Type
baseClass System.Type
interfaces System.Type
Résultat System.Type

GenerateConstructor() protected méthode

Generates one public constructor receiving the IInterceptor instance and instantiating a hashtable
protected GenerateConstructor ( ConstructorInfo baseConstructor ) : EasyConstructor
baseConstructor System.Reflection.ConstructorInfo
Résultat Castle.DynamicProxy.Builder.CodeBuilder.EasyConstructor

GenerateConstructors() protected méthode

protected GenerateConstructors ( Type baseClass ) : void
baseClass System.Type
Résultat void

GenerateCustomCode() public méthode

public GenerateCustomCode ( Type baseClass, Type interfaces ) : Type
baseClass System.Type
interfaces System.Type
Résultat System.Type

GenerateSerializationConstructor() protected méthode

protected GenerateSerializationConstructor ( ) : void
Résultat void

GenerateTypeName() protected méthode

protected GenerateTypeName ( Type type, Type interfaces ) : String
type System.Type
interfaces System.Type
Résultat String

Join() protected méthode

protected Join ( Type interfaces, Type mixinInterfaces ) : System.Type[]
interfaces System.Type
mixinInterfaces System.Type
Résultat System.Type[]

SkipDefaultInterfaceImplementation() protected méthode

protected SkipDefaultInterfaceImplementation ( Type interfaces ) : void
interfaces System.Type
Résultat void

VerifyIfBaseImplementsGetObjectData() protected méthode

protected VerifyIfBaseImplementsGetObjectData ( Type baseType ) : bool
baseType System.Type
Résultat bool

Property Details

_serializationConstructor protected_oe property

protected ConstructorInfo,System.Reflection _serializationConstructor
Résultat System.Reflection.ConstructorInfo