CastleInvocationToAlternateMethodContextAdapter Members
From Glimpse API
| CastleInvocationToAlternateMethodContextAdapter Members | Glimpse API Documentation |
The CastleInvocationToAlternateMethodContextAdapter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CastleInvocationToAlternateMethodContextAdapter |
Initializes a new instance of the CastleInvocationToAlternateMethodContextAdapter class.
|
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetArgumentValue |
Gets the value of the argument at the specified index.
| |
| GetConcreteMethod |
Gets the concrete method.
| |
| GetConcreteMethodInvocationTarget |
Gets the concrete method invocation target.
| |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| 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.
| |
Returns a string that represents the current object. (Inherited from |
Extension Methods
| Name | Description | |
|---|---|---|
| GetTypeOrNull |
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.) | |
| ToStringOrDefault |
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.) | |
| 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.
| |
| Invocation |
Gets or sets the invocation.
| |
| 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 or sets the logger.
| |
| 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