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