IAlternateMethodContext Members | Glimpse API Documentation |
The IAlternateMethodContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
GetArgumentValue |
Gets the value of the argument at the specified index.
| |
GetConcreteMethod |
Gets the concrete method.
| |
GetConcreteMethodInvocationTarget |
Gets the concrete method invocation target.
| |
Proceed |
Proceeds the call to the next implementation in line, and ultimately to the target method.
| |
SetArgumentValue |
Overrides the value of an argument at the given index with the new value provided.
|
Extension Methods
Name | Description | |
---|---|---|
TryProceedWithTimer |
Calls Proceed on the original implementation, if the current RuntimePolicy is not Off, and provides a corresponding TimerResult.
(Defined by AlternateMethodContextExtensions.) |
Properties
Name | Description | |
---|---|---|
Arguments |
Gets the arguments that IAlternateMethod has been invoked with.
| |
GenericArguments |
Gets the generic arguments.
| |
InvocationTarget |
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.
| |
Logger |
Gets the logger.
(Inherited from IContext.) | |
MessageBroker |
Gets the message broker.
| |
Method |
Gets the method representing the method being invoked on the proxy.
| |
MethodInvocationTarget |
Gets the method info on the target class.
| |
Proxy |
Gets the proxy object on which the alternate implementation is invoked.
| |
ProxyFactory |
Gets the proxy factory.
| |
ReturnValue |
Gets or sets the return value of the method.
| |
RuntimePolicyStrategy |
Gets the runtime policy strategy.
| |
TargetType |
Gets the type of the target object for the intercepted method.
| |
TimerStrategy |
Gets the timer strategy.
|
See Also