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