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