Example #1
0
        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);
 }