コード例 #1
0
 /// <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);
 }
コード例 #2
0
		/// <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);            
        }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 /// <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;
 }
コード例 #7
0
		/// <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>();
        }
コード例 #8
0
 /// <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>();
 }