메소드 | 설명 | |
---|---|---|
SimpleMethodReplacementProvider ( IInterceptor replacement ) : System |
Initializes a new instance of the SimpleMethodReplacementProvider class.
|
메소드 | 설명 | |
---|---|---|
GetReplacement ( object host, IInvocationInfo context ) : IInterceptor |
Gets the method replacement for a given
|
|
ShouldReplace ( object host, IInvocationInfo context ) : bool |
Determines whether or not a particular method body should be replaced at runtime.
|
protected GetReplacement ( object host, IInvocationInfo context ) : IInterceptor | ||
host | object | The host instance that contains the target method. |
context | IInvocationInfo | The context surrounding the method call. |
리턴 | IInterceptor |
protected ShouldReplace ( object host, IInvocationInfo context ) : bool | ||
host | object | The host instance that contains the target method. |
context | IInvocationInfo | The context surrounding the method call. |
리턴 | bool |
public SimpleMethodReplacementProvider ( IInterceptor replacement ) : System | ||
replacement | IInterceptor | The method body replacement interceptor. |
리턴 | System |