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