Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CompositionProxyTypeBuilder Members

CompositionProxyTypeBuilder overview

Public Instance Constructors

CompositionProxyTypeBuilder Constructor Creates a new instance of the CompositionProxyTypeBuilder class.

Public Instance Properties

BaseType (inherited from AbstractProxyTypeBuilder) The Type of the class that the proxy must inherit from.
ExplicitInterfaceImplementation Gets or sets a value indicating whether interfaces should be implemented explicitly.
Interfaces (inherited from AbstractProxyTypeBuilder) Gets or sets the list of interfaces proxy should implement.
MemberAttributes (inherited from AbstractProxyTypeBuilder) The custom Attributes that the proxy members must be decorated with.
Name (inherited from AbstractProxyTypeBuilder) The name of the proxy Type.
ProxyTargetAttributes (inherited from AbstractProxyTypeBuilder) Should we proxy target attributes?
TargetType (inherited from AbstractProxyTypeBuilder) The Type of the target object.
TypeAttributes (inherited from AbstractProxyTypeBuilder) The list of custom Attributes that the proxy class must be decorated with.

Public Instance Methods

BuildProxyType Creates a proxy that delegates calls to an instance of the target object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
PushProxy (inherited from AbstractProxyTypeBuilder) Generates the IL instructions that pushes the proxy instance on stack.
PushTarget Generates the IL instructions that pushes the target instance on which calls should be delegated to.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

targetInstance Target instance calls should be delegated to.

Protected Instance Methods

ApplyMethodAttributes (inherited from AbstractProxyTypeBuilder) Applies attributes to the proxied method.
ApplyMethodParameterAttributes (inherited from AbstractProxyTypeBuilder) Applies attributes to proxied method's parameters.
ApplyMethodReturnTypeAttributes (inherited from AbstractProxyTypeBuilder) Applies attributes to the proxied method's return type.
ApplyTypeAttributes (inherited from AbstractProxyTypeBuilder) Applies attributes to the proxy class.
CreateTargetProxyMethodBuilder Create an IProxyMethodBuilder to create interface implementations
CreateTypeBuilder (inherited from AbstractProxyTypeBuilder) Creates an appropriate type builder.
DeclareTargetInstanceField Deaclares a field that holds the target object instance.
DefineConstructorParameters (inherited from AbstractProxyTypeBuilder) Defines the types of the parameters for the specified constructor.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GenerateConstructor Generates the proxy constructor.
GetInterfaceMapping (inherited from AbstractProxyTypeBuilder) Gets the mapping of the interface to proxy into the actual methods on the target type that does not need to implement that interface.
GetMethodAttributes (inherited from AbstractProxyTypeBuilder) Calculates and returns the list of attributes that apply to the specified method.
GetMethodParameterAttributes (inherited from AbstractProxyTypeBuilder) Calculates and returns the list of attributes that apply to the specified method's parameters.
GetMethodReturnTypeAttributes (inherited from AbstractProxyTypeBuilder) Calculates and returns the list of attributes that apply to the specified method's return type.
GetProxiableInterfaces (inherited from AbstractProxyTypeBuilder) Returns an array of Types that represent the proxiable interfaces.
GetTypeAttributes (inherited from AbstractProxyTypeBuilder) Calculates and returns the list of attributes that apply to the specified type.
ImplementConstructors (inherited from AbstractProxyTypeBuilder) Implements constructors for the proxy class.
ImplementCustom Allows subclasses to generate additional code
ImplementEvent (inherited from AbstractProxyTypeBuilder) Implements the specified event.
ImplementInterface (inherited from AbstractProxyTypeBuilder)Overloaded. Implements an interface.
ImplementProperty (inherited from AbstractProxyTypeBuilder) Implements the specified property.
InheritType (inherited from AbstractProxyTypeBuilder)Overloaded. Inherit from a type.
IsAttributeMatchingType (inherited from AbstractProxyTypeBuilder) Check that the specified object is matching the passed attribute type.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CompositionProxyTypeBuilder Class | Spring.Proxy Namespace