상속: StateManagedItem.Config
        /// <summary>
        ///
        /// </summary>
        public ListItem.Builder ListItem(ListItem.Config config)
        {
#if MVC
            return(new ListItem.Builder(new ListItem(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new ListItem.Builder(new ListItem(config)));
#endif
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(ListItem.Config config) : base(new ListItem(config))
 {
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 public ListItem.Builder ListItem(ListItem.Config config)
 {
     return(new ListItem.Builder(new ListItem(config)));
 }