Пример #1
0
        public NuGetSubstitute(string nugetDbConnection)
        {
            m_db = new NuGetDb(nugetDbConnection);

            m_thisBranchPackages = m_db.GetLatestVersions()
                                   .Where(p => p.Branch == Args.BranchName.ToLower())
                                   .ToList();
        }
        public PackageChecker(
            string nugetDbConnection,
            string customVersions,
            string dependencies,
            string bundles)
        {
            m_db = new NuGetDb(nugetDbConnection);

            m_localPackages = new Dictionary <string, NuGetPackage>();

            m_customVersions = ParseCustomVersions(customVersions);
            m_dependencies   = ParseCustomPackages(dependencies);
            m_bundles        = ParseCustomPackages(bundles);
        }
Пример #3
0
		public PackageChecker(
			string nugetDbConnection,
			string customVersions,
			string dependencies,
			string bundles)
		{
			m_db = new NuGetDb(nugetDbConnection);

			m_localPackages = new Dictionary<string, NuGetPackage>();

			m_customVersions = ParseCustomVersions(customVersions);
			m_dependencies = ParseCustomPackages(dependencies);
			m_bundles = ParseCustomPackages(bundles);
		}