C# Class Moq.AddActualInvocation

Inheritance: IInterceptStrategy
Exibir arquivo Open project: moq/moq4

Public Methods

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

Private Methods

Method Description
GetAncestorTypes ( Type initialType ) : IEnumerable

Given a type return all of its ancestors, both types and interfaces.

GetEventFromName ( string eventName ) : EventInfo

Get an eventInfo for a given event name. Search type ancestors depth first if necessary.

GetEventFromName ( string eventName, BindingFlags bindingAttr ) : EventInfo

Get an eventInfo for a given event name. Search type ancestors depth first if necessary. Searches events using the specified binding constraints.

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