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