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