메소드 | 설명 | |
---|---|---|
AfterInvoke ( IInvocationInfo context, object returnValue ) : void | ||
BeforeInvoke ( IInvocationInfo context ) : void | ||
CanReplace ( object host, IInvocationInfo context ) : bool |
Determines whether or not the current method implementation can be replaced.
|
|
GetMethodReplacement ( object host, IInvocationInfo context ) : IInterceptor |
Obtains the IInterceptor instance that will be used to replace the current method call.
|
메소드 | 설명 | |
---|---|---|
GetReplacement ( object host, IInvocationInfo context ) : IInterceptor |
Obtains the IInterceptor instance that will be used to replace the current method call.
|
|
ShouldReplace ( object host, IInvocationInfo context ) : bool |
public AfterInvoke ( IInvocationInfo context, object returnValue ) : void | ||
context | IInvocationInfo | |
returnValue | object | |
리턴 | void |
public BeforeInvoke ( IInvocationInfo context ) : void | ||
context | IInvocationInfo | |
리턴 | void |
public CanReplace ( object host, IInvocationInfo context ) : bool | ||
host | object | The target instance of the method call. |
context | IInvocationInfo | The |
리턴 | bool |
public GetMethodReplacement ( object host, IInvocationInfo context ) : IInterceptor | ||
host | object | The target instance of the method call. |
context | IInvocationInfo | The |
리턴 | IInterceptor |
protected abstract GetReplacement ( object host, IInvocationInfo context ) : IInterceptor | ||
host | object | The target instance of the method call. |
context | IInvocationInfo | The |
리턴 | IInterceptor |
protected ShouldReplace ( object host, IInvocationInfo context ) : bool | ||
host | object | |
context | IInvocationInfo | |
리턴 | bool |