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