protected static void RaiseEvent(RaiseEventWrapper wrapper)
 {
     var context = SubstitutionContext.Current;
     context.RaiseEventForNextCall(call => wrapper.WorkOutRequiredArguments(call));
 }
Beispiel #2
0
        protected static void RaiseEvent(RaiseEventWrapper wrapper)
        {
            var context = SubstitutionContext.Current;

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

            context.RaiseEventForNextCall(call => wrapper.WorkOutRequiredArguments(call));
        }