コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SubScheduleVertexProcessor"/> class.
        /// </summary>
        /// <param name="executor">The executor that handles the execution of the sub-schedule.</param>
        /// <exception cref="ArgumentNullException">
        ///     Thrown if <paramref name="executor"/> is <see langword="null" />.
        /// </exception>
        public SubScheduleVertexProcessor(IDistributeScheduleExecutions executor)
        {
            {
                Lokad.Enforce.Argument(() => executor);
            }

            m_Executor = executor;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SubScheduleVertexProcessor"/> class.
        /// </summary>
        /// <param name="executor">The executor that handles the execution of the sub-schedule.</param>
        /// <exception cref="ArgumentNullException">
        ///     Thrown if <paramref name="executor"/> is <see langword="null" />.
        /// </exception>
        public SubScheduleVertexProcessor(IDistributeScheduleExecutions executor)
        {
            {
                Lokad.Enforce.Argument(() => executor);
            }

            m_Executor = executor;
        }