C# Class Moq.InterceptObjectMethodsMixin

Intercept strategy that handles `System.Object` methods.
Inheritance: IInterceptStrategy
Show file Open project: moq/moq4

Public Methods

Method Description
HandleIntercept ( ICallContext invocation, Moq.InterceptorContext ctx, Moq.CurrentInterceptContext localctx ) : InterceptionAction

Protected Methods

Method Description
IsObjectMethod ( MethodInfo method, string name ) : bool

Method Details

HandleIntercept() public method

public HandleIntercept ( ICallContext invocation, Moq.InterceptorContext ctx, Moq.CurrentInterceptContext localctx ) : InterceptionAction
invocation ICallContext
ctx Moq.InterceptorContext
localctx Moq.CurrentInterceptContext
return InterceptionAction

IsObjectMethod() protected method

protected IsObjectMethod ( MethodInfo method, string name ) : bool
method System.Reflection.MethodInfo
name string
return bool