/// <summary> /// Optimizes the modules. /// </summary> /// <param name="outputVirtualPath">The output virtual path.</param> protected void OptimizeModules(String outputVirtualPath) { var outputModule = new DextopResourceOptimizationModule() { PhysicalPath = DextopUtil.MapPath(outputVirtualPath), VirtualPath = outputVirtualPath }; var context = new DextopResourceOptimizationContext { OptimizationOutputModule = outputModule }; foreach (var m in Modules) m.OptimizeResources(context); }
/// <summary> /// Optimizes the modules. /// </summary> /// <param name="outputVirtualPath">The output virtual path.</param> protected void OptimizeModules(String outputVirtualPath) { var outputModule = new DextopResourceOptimizationModule() { PhysicalPath = DextopUtil.MapPath(outputVirtualPath), VirtualPath = outputVirtualPath }; var context = new DextopResourceOptimizationContext { OptimizationOutputModule = outputModule }; foreach (var m in Modules) { m.OptimizeResources(context); } }