コード例 #1
0
        /// <summary>
        /// Sets the View messages of the scheduler.
        /// </summary>
        /// <param name="addViewAction">The lambda which configures the scheduler view messages</param>
        public SchedulerMessagesBuilder Views(Action <SchedulerViewMessagesBuilder> addViewAction)
        {
            SchedulerViewMessagesBuilder builder = new SchedulerViewMessagesBuilder(messages.ViewMessages);

            addViewAction(builder);

            return(this);
        }
コード例 #2
0
        /// <summary>
        /// Sets the View messages of the scheduler.
        /// </summary>
        /// <param name="addViewAction">The lambda which configures the scheduler view messages</param>
        public SchedulerMessagesBuilder Views(Action<SchedulerViewMessagesBuilder> addViewAction)
        {
            SchedulerViewMessagesBuilder builder = new SchedulerViewMessagesBuilder(messages.ViewMessages);

            addViewAction(builder);

            return this;
        }