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