コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TimePickerClientEventsBuilder"/> class.
        /// </summary>
        /// <param name="clientEvents">Timepicker client-side events.</param>
        /// <param name="viewContext">The context of the View.</param>
        public DateTimePickerClientEventsBuilder(DateTimePickerClientEvents clientEvents, ViewContext viewContext)
        {
            Guard.IsNotNull(clientEvents, "clientEvents");
            Guard.IsNotNull(viewContext, "viewContext");

            this.clientEvents = clientEvents;
            this.viewContext = viewContext;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TimePickerClientEventsBuilder"/> class.
        /// </summary>
        /// <param name="clientEvents">Timepicker client-side events.</param>
        /// <param name="viewContext">The context of the View.</param>
        public DateTimePickerClientEventsBuilder(DateTimePickerClientEvents clientEvents, ViewContext viewContext)
        {
            Guard.IsNotNull(clientEvents, "clientEvents");
            Guard.IsNotNull(viewContext, "viewContext");

            this.clientEvents = clientEvents;
            this.viewContext  = viewContext;
        }