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

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

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