Esempio n. 1
0
        public void Init()
        {
            packageManager = TestFactory.CreatePackageManager();

            // Create composite package catalog source
            var options    = TestFactory.CreateCreateCompositePackageCatalogOptions();
            var testSource = packageManager.GetPackageCatalogByName(Constants.TestSourceName);

            Assert.NotNull(testSource, $"{Constants.TestSourceName} cannot be null");
            options.Catalogs.Add(testSource);
            options.CompositeSearchBehavior = CompositeSearchBehavior.AllCatalogs;
            compositeSource = packageManager.CreateCompositePackageCatalog(options);
        }