Пример #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));
        }