protected static void RaiseEvent(RaiseEventWrapper wrapper) { var context = SubstitutionContext.Current; context.RaiseEventForNextCall(call => wrapper.WorkOutRequiredArguments(call)); }
protected static void RaiseEvent(RaiseEventWrapper wrapper) { var context = SubstitutionContext.Current; context.ThreadContext.SetPendingRasingEventArgumentsFactory(call => wrapper.WorkOutRequiredArguments(call)); }