IAlternateMethodContext Members

Glimpse API

IAlternateMethodContext Members Glimpse API Documentation

The IAlternateMethodContext type exposes the following members.


Public methodGetArgumentValue
Gets the value of the argument at the specified index.
Public methodGetConcreteMethod
Gets the concrete method.
Public methodGetConcreteMethodInvocationTarget
Gets the concrete method invocation target.
Public methodProceed
Proceeds the call to the next implementation in line, and ultimately to the target method.
Public methodSetArgumentValue
Overrides the value of an argument at the given index with the new value provided.
Back to Top
Extension Methods

Public Extension MethodTryProceedWithTimer
Calls Proceed on the original implementation, if the current RuntimePolicy is not Off, and provides a corresponding TimerResult.
(Defined by AlternateMethodContextExtensions.)
Back to Top

Public propertyArguments
Gets the arguments that IAlternateMethod has been invoked with.
Public propertyGenericArguments
Gets the generic arguments.
Public propertyInvocationTarget
Gets the object on which the invocation is performed. This is different from proxy object because most of the time this will be the proxy target object.
Public propertyLogger
Gets the logger.
(Inherited from IContext.)
Public propertyMessageBroker
Gets the message broker.
Public propertyMethod
Gets the method representing the method being invoked on the proxy.
Public propertyMethodInvocationTarget
Gets the method info on the target class.
Public propertyProxy
Gets the proxy object on which the alternate implementation is invoked.
Public propertyProxyFactory
Gets the proxy factory.
Public propertyReturnValue
Gets or sets the return value of the method.
Public propertyRuntimePolicyStrategy
Gets the runtime policy strategy.
Public propertyTargetType
Gets the type of the target object for the intercepted method.
Public propertyTimerStrategy
Gets the timer strategy.
Back to Top
See Also