/// <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 }
/// <summary> /// /// </summary> public Builder(Gradient.Config config) : base(new Gradient(config)) { }
/// <summary> /// /// </summary> public Gradient.Builder Gradient(Gradient.Config config) { return(new Gradient.Builder(new Gradient(config))); }