/// <summary>
        /// <see cref="SingleDelegateNoFlowContextSwitchSupplier"/> constructor
        /// </summary>
        /// <param name="switchDel">Delegate that provides the ability to switch the context of execution</param>
        public SingleDelegateNoFlowContextSwitchSupplier(ContextSwitchNoFlowDelegate switchDel)
        {
            if (switchDel == null)
            {
                throw new ArgumentNullException(nameof(switchDel));
            }

            _switchDel = switchDel;
        }
        /// <summary>
        /// Конструктор SingleDelegateNoFlowContextSwitchSupplier
        /// </summary>
        /// <param name="switchDel">Делегат смены контекста</param>
        public SingleDelegateNoFlowContextSwitchSupplier(ContextSwitchNoFlowDelegate switchDel)
        {
            Contract.Requires(switchDel != null);

            _switchDel = switchDel;
        }