public FallbackValuesProvider(string databases, string sites)
        {
            Assert.IsNotNullOrEmpty(databases, "databases param cannot be null or empty");
            Assert.IsNotNullOrEmpty(sites, "sites param cannot be null or empty");

            SupportedDatabaseNames = databases.Split(new[] { '|', ' ', ',' });
            SupportedSiteNames = sites.Split(new[] { '|', ' ', ',' });

            _siteManager = new SiteManager();
            _supportCache = new FallbackSupportCache();
        }
Exemple #2
0
        public FallbackValuesProvider(string databases, string sites)
        {
            Assert.IsNotNullOrEmpty(databases, "databases param cannot be null or empty");
            Assert.IsNotNullOrEmpty(sites, "sites param cannot be null or empty");

            SupportedDatabaseNames = databases.Split(new[] { '|', ' ', ',' });
            SupportedSiteNames     = sites.Split(new[] { '|', ' ', ',' });

            _siteManager  = new SiteManager();
            _supportCache = new FallbackSupportCache();
        }