Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAopProxyMethodBuilder Members

AbstractAopProxyMethodBuilder overview

Protected Static (Shared) Methods

EmitLoadValueIndirect Emits MSIL instructions to load a value of the specified type onto the evaluation stack indirectly.
EmitStoreValueIndirect Emit MSIL instructions to store a value of the specified type at a supplied address.
EmitUnboxIfNeeded Emits MSIL instructions to convert the boxed representation of the supplied type to its unboxed form.

Public Instance Methods

BuildProxyMethod (inherited from AbstractProxyMethodBuilder) 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 Constructors

AbstractAopProxyMethodBuilder Overloaded. Initializes a new instance of the AbstractAopProxyMethodBuilder class.

Protected Instance Fields

aopProxyGenerator The IAopProxyTypeGenerator implementation to use.
arguments The local variable to store method arguments.
explicitImplementation (inherited from AbstractProxyMethodBuilder) Indicates whether interfaces should be implemented explicitly.
genericOnProxyTargetMethod The local variable to store the closed generic method when the target method defined on the proxy is generic.
genericTargetMethod The local variable to store the closed generic method when the target method is generic.
interceptors The local variable to store the list of method interceptors.
methodReturnsValue Indicates if the method returns a value.
onProxyTargetMethodCacheField The field to cache the target MethodInfo defined on the proxy.
onProxyTargetMethods The dictionary to cache the list of target MethodInfos defined on the proxy.
proxyGenerator (inherited from AbstractProxyMethodBuilder) The IProxyTypeGenerator implementation to use.
returnValue The local variable to store the return value.
targetMethodCacheField The field to cache the target MethodInfo.
targetMethods The dictionary to cache the list of target MethodInfos.
targetType The local variable to store the target type being proxied.
typeBuilder (inherited from AbstractProxyMethodBuilder) The type builder to use.

Protected Instance Methods

BeginMethod Initializes local variables
CallAssertUnderstands (inherited from AbstractProxyMethodBuilder) Emits code to ensure that target understands the method and throw a sensible exception otherwise.
CallDirectBaseMethod (inherited from AbstractProxyMethodBuilder) Calls base method directly.
CallDirectProxiedMethod Calls proxied method directly.
CallDirectTargetMethod (inherited from AbstractProxyMethodBuilder) Calls target method directly.
CallInvoke Calls method using Invoke
DeclareLocals Creates local variable declarations.
DefineGenericParameters (inherited from AbstractProxyMethodBuilder) Defines generic method parameters based on proxied method metadata.
DefineMethod (inherited from AbstractProxyMethodBuilder) Defines proxy method for the target object.
DefineParameters (inherited from AbstractProxyMethodBuilder) Defines method parameters based on proxied method metadata.
EndMethod Ends method by returning return value if appropriate.
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.
GenerateMethodCacheFieldId Generates unique method id for the cache field.
GenerateMethodLogic Generates method logic.
GenerateOnProxyTargetMethodCacheField Create static field that will cache target method when defined on the proxy.
GenerateTargetMethodCacheField Create static field that will cache target method.
MakeGenericMethod Create a closed generic method for the current call if target method is a generic definition.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ProcessReturnValue (inherited from AbstractProxyMethodBuilder) Replaces a raw reference with a reference to a proxy.
PushAdvisedProxy Generates the IL instructions that pushes the current AdvisedProxy instance on stack.
PushOnProxyTargetMethodInfo Pushes the target MethodInfo defined on the proxy to stack.
PushProxy (inherited from AbstractProxyMethodBuilder) Generates the IL instructions that pushes the proxy instance on stack.
PushTarget (inherited from AbstractProxyMethodBuilder) Generates the IL instructions that pushes the target instance on which calls should be delegated to.
PushTargetMethodInfo Pushes the target MethodInfo to stack.
PushTargetType Generates the IL instructions that pushes the target type on stack.
SetupMethodArguments Setup proxied method arguments.

See Also

AbstractAopProxyMethodBuilder Class | Spring.Aop.Framework.DynamicProxy Namespace