C# Class Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter

Mostra file Open project: nats/castle-1.0.3-mono Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AbstractTypeEmitter ( TypeBuilder typeBuilder ) : System
BuildType ( ) : Type
CreateConstructor ( ) : Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter
CreateDefaultConstructor ( ) : void
CreateEvent ( string name, EventAttributes atts, Type type ) : EventEmitter
CreateField ( string name, Type fieldType ) : FieldReference
CreateField ( string name, Type fieldType, bool serializable ) : FieldReference
CreateGenericParameters ( Type genericArguments ) : void
CreateMethod ( String name, MethodAttributes attributes ) : MethodEmitter
CreateMethod ( String name, MethodAttributes attrs, Type returnType ) : MethodEmitter
CreateMethod ( String name, Type returnType ) : MethodEmitter
CreateProperty ( String name, PropertyAttributes attributes, Type propertyType ) : Castle.DynamicProxy.Generators.Emitters.PropertyEmitter
CreateStaticField ( string name, Type fieldType ) : FieldReference
CreateTypeConstructor ( ) : Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter
DefineCustomAttribute ( Attribute attribute ) : void
DefineCustomAttributeFor ( FieldReference field, Attribute attribute ) : void
GetGenericArgument ( String genericArgumentName ) : Type
GetGenericArgumentsFor ( MethodInfo genericMethod ) : System.Type[]
GetGenericArgumentsFor ( Type genericType ) : System.Type[]
IsGenericArgument ( String genericArgumentName ) : bool
SetGenericTypeParameters ( GenericTypeParameterBuilder genericTypeParameterBuilders ) : void

Protected Methods

Method Description
EnsureBuildersAreInAValidState ( ) : void

Method Details

AbstractTypeEmitter() public method

public AbstractTypeEmitter ( TypeBuilder typeBuilder ) : System
typeBuilder System.Reflection.Emit.TypeBuilder
return System

BuildType() public method

public BuildType ( ) : Type
return System.Type

CreateConstructor() public method

public CreateConstructor ( ) : Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter
return Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter

CreateDefaultConstructor() public method

public CreateDefaultConstructor ( ) : void
return void

CreateEvent() public method

public CreateEvent ( string name, EventAttributes atts, Type type ) : EventEmitter
name string
atts EventAttributes
type System.Type
return EventEmitter

CreateField() public method

public CreateField ( string name, Type fieldType ) : FieldReference
name string
fieldType System.Type
return Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference

CreateField() public method

public CreateField ( string name, Type fieldType, bool serializable ) : FieldReference
name string
fieldType System.Type
serializable bool
return Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference

CreateGenericParameters() public method

public CreateGenericParameters ( Type genericArguments ) : void
genericArguments System.Type
return void

CreateMethod() public method

public CreateMethod ( String name, MethodAttributes attributes ) : MethodEmitter
name String
attributes MethodAttributes
return MethodEmitter

CreateMethod() public method

public CreateMethod ( String name, MethodAttributes attrs, Type returnType ) : MethodEmitter
name String
attrs MethodAttributes
returnType System.Type
return MethodEmitter

CreateMethod() public method

public CreateMethod ( String name, Type returnType ) : MethodEmitter
name String
returnType System.Type
return MethodEmitter

CreateProperty() public method

public CreateProperty ( String name, PropertyAttributes attributes, Type propertyType ) : Castle.DynamicProxy.Generators.Emitters.PropertyEmitter
name String
attributes PropertyAttributes
propertyType System.Type
return Castle.DynamicProxy.Generators.Emitters.PropertyEmitter

CreateStaticField() public method

public CreateStaticField ( string name, Type fieldType ) : FieldReference
name string
fieldType System.Type
return Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference

CreateTypeConstructor() public method

public CreateTypeConstructor ( ) : Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter
return Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter

DefineCustomAttribute() public method

public DefineCustomAttribute ( Attribute attribute ) : void
attribute System.Attribute
return void

DefineCustomAttributeFor() public method

public DefineCustomAttributeFor ( FieldReference field, Attribute attribute ) : void
field Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference
attribute System.Attribute
return void

EnsureBuildersAreInAValidState() protected method

protected EnsureBuildersAreInAValidState ( ) : void
return void

GetGenericArgument() public method

public GetGenericArgument ( String genericArgumentName ) : Type
genericArgumentName String
return System.Type

GetGenericArgumentsFor() public method

public GetGenericArgumentsFor ( MethodInfo genericMethod ) : System.Type[]
genericMethod System.Reflection.MethodInfo
return System.Type[]

GetGenericArgumentsFor() public method

public GetGenericArgumentsFor ( Type genericType ) : System.Type[]
genericType System.Type
return System.Type[]

IsGenericArgument() public method

public IsGenericArgument ( String genericArgumentName ) : bool
genericArgumentName String
return bool

SetGenericTypeParameters() public method

public SetGenericTypeParameters ( GenericTypeParameterBuilder genericTypeParameterBuilders ) : void
genericTypeParameterBuilders System.Reflection.Emit.GenericTypeParameterBuilder
return void