public CreateIndex ( string FilePath ) : void | ||
FilePath | string | |
Résultat | void |
private void CreateIndexFile() { var indexManager = new IndexFileManager(); var deployment = new DeploymentManager(MobilePath); var productList = deployment.Products; productList.Reverse(); var products = new List <string>(); if (productList.Contains("argos-saleslogix")) { products.Add("argos-saleslogix"); } products.AddRange(productList.Where(prod => prod != "argos-saleslogix").ToList()); foreach (string product in products) { indexManager.Packages.Add(new ResourcePackage { Repository = product }); } indexManager.CreateIndex(MobilePath); }
private void CreateIndex() { var indexManager = new IndexFileManager(); indexManager.Packages = _completedPackageList; indexManager.CreateIndex(MobilePath); }
private void CreateIndexFile() { var indexManager = new IndexFileManager(); var deployment = new DeploymentManager(MobilePath); var productList = deployment.Products; productList.Reverse(); var products = new List<string>(); if (productList.Contains("argos-saleslogix")) products.Add("argos-saleslogix"); products.AddRange(productList.Where(prod => prod != "argos-saleslogix").ToList()); foreach (string product in products) indexManager.Packages.Add(new ResourcePackage {Repository = product}); indexManager.CreateIndex(MobilePath); }
private void CreateIndex() { var indexManager = new IndexFileManager(); indexManager.Packages = _completedPackageList; indexManager.CreateIndex(MobilePath); }