Пример #1
0
 /// <summary>
 /// Creates the new JS package used by the module.
 /// </summary>
 /// <param name="package">The package.</param>
 /// <returns></returns>
 public DextopJsResourcePackage CreateJsPackage(String package)
 {
     var p = new DextopJsResourcePackage(this, package)
     {
         Concate = true,
         Minify = true
     };
     if (JsPackages == null)
         JsPackages = new List<DextopJsResourcePackage>();
     JsPackages.Add(p);
     return p;
 }
Пример #2
0
 /// <summary>
 /// Creates the new JS package used by the module.
 /// </summary>
 /// <param name="package">The package.</param>
 /// <returns></returns>
 public DextopJsResourcePackage CreateJsPackage(String package)
 {
     var p = new DextopJsResourcePackage(this, package)
     {
         Concate = true,
         Minify = true,
         SmartOverwrite = SmartOverwrite,
         External = UsingExternalResources
     };
     if (JsPackages == null)
         JsPackages = new List<DextopJsResourcePackage>();
     JsPackages.Add(p);
     return p;
 }
Пример #3
0
        /// <summary>
        /// Creates the new JS package used by the module.
        /// </summary>
        /// <param name="package">The package.</param>
        /// <returns></returns>
        public DextopJsResourcePackage CreateJsPackage(String package)
        {
            var p = new DextopJsResourcePackage(this, package)
            {
                Concate        = true,
                Minify         = true,
                SmartOverwrite = SmartOverwrite
            };

            if (JsPackages == null)
            {
                JsPackages = new List <DextopJsResourcePackage>();
            }
            JsPackages.Add(p);
            return(p);
        }