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