Пример #1
0
            static void OnContextApplied(object o)
            {
                ActionItem tempState = (ActionItem)o;

                tempState.Invoke();
                tempState.isScheduled = false;
            }
Пример #2
0
            static void InvokeWithoutContext(object state)
            {
                ActionItem tempState = (ActionItem)state;

                tempState.Invoke();
                tempState.isScheduled = false;
            }