Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractProxyMethodBuilder Members

AbstractProxyMethodBuilder overview

Protected Static (Shared) Methods

EmitThrowException Generates code that throws InvalidOperationException.

Public Instance Constructors

AbstractProxyMethodBuilder Constructor Creates a new instance of the method builder.

Public Instance Methods

BuildProxyMethod Dynamically builds proxy method.
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.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

explicitImplementation Indicates whether interfaces should be implemented explicitly.
proxyGenerator The IProxyTypeGenerator implementation to use.
typeBuilder The type builder to use.

Protected Instance Methods

CallAssertUnderstands Emits code to ensure that target understands the method and throw a sensible exception otherwise.
CallDirectBaseMethod Calls base method directly.
CallDirectTargetMethod Calls target method directly.
DefineGenericParameters Defines generic method parameters based on proxied method metadata.
DefineMethod Defines proxy method for the target object.
DefineParameters Defines method parameters based on proxied method metadata.
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.
GenerateMethod Generates the proxy method.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ProcessReturnValue Replaces a raw reference with a reference to a proxy.
PushProxy 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.

See Also

AbstractProxyMethodBuilder Class | Spring.Proxy Namespace