/// <summary> /// Registers the module. /// </summary> /// <param name="virtualPath">The virtual path.</param> /// <param name="module">The module.</param> protected void RegisterModule(String virtualPath, DextopModule module) { module.PhysicalPath = DextopUtil.MapPath(virtualPath); module.VirtualPath = virtualPath; module.Application = this; Modules.Add(module); }
/// <summary> /// Initializes a new instance of the <see cref="DextopCssResourcePackage"/> class. /// </summary> /// <param name="module">The module.</param> public DextopCssResourcePackage(DextopModule module) { package = new DextopResourcePackage(module); }
/// <summary> /// Initializes a new instance of the <see cref="DextopJsResourcePackage"/> class. /// </summary> /// <param name="module">The module.</param> /// <param name="name">The name.</param> public DextopJsResourcePackage(DextopModule module, String name) { package = new DextopResourcePackage(module); PackageName = name; }
/// <summary> /// Initializes a new instance of the <see cref="DextopResourcePackage"/> class. /// </summary> /// <param name="module">The module.</param> public DextopResourcePackage(DextopModule module) { Module = module; Files = new List<string>(); }
/// <summary> /// Initializes a new instance of the <see cref="DextopResourcePackage"/> class. /// </summary> /// <param name="module">The module.</param> public DextopResourcePackage(DextopModule module) { Module = module; Files = new List <string>(); }