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