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