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