public void Intercept(IInvocation invocation) { var chaosInvocation = _chaosFactory.CreateChaosInvocation(_implementType, invocation.Method, invocation.Arguments); invocation.ReturnValue = _subjects.Call(chaosInvocation); }
public ChaosInvocation CreateChaosInvocation(Type implementType, MethodInfo invocationMethod, object[] invocationArguments) { return(_next.CreateChaosInvocation(implementType, invocationMethod, invocationArguments)); }