SenseNet.ContentRepository.Tests.PortalContextTest.CreateTestSite C# (CSharp) Метод

CreateTestSite() приватный Метод

private CreateTestSite ( ) : void
Результат void
        private void CreateTestSite()
        {
            Site site = new Site(Repository.Root);
            site.Name = "Fake Test Site";
            Dictionary<string, string> urlList = new Dictionary<string, string>(3);
            urlList.Add("localhost/fakesiteforms", "Forms");
            urlList.Add("localhost/fakesitewindows", "Windows");
            urlList.Add("localhost/fakesitenone", "None");
            site.UrlList = urlList;
            site.Save();
        }