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