コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        public TimeAxis.Builder TimeAxis(TimeAxis.Config config)
        {
#if MVC
            return(new TimeAxis.Builder(new TimeAxis(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new TimeAxis.Builder(new TimeAxis(config)));
#endif
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(TimeAxis.Config config) : base(new TimeAxis(config))
 {
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 public TimeAxis.Builder TimeAxis(TimeAxis.Config config)
 {
     return(new TimeAxis.Builder(new TimeAxis(config)));
 }