예제 #1
0
        /// <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
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(Sprite.Config config) : base(new Sprite(config))
 {
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 public Sprite.Builder Sprite(Sprite.Config config)
 {
     return(new Sprite.Builder(new Sprite(config)));
 }