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