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