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