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