AddAdditionalSearchPaths() публичный Метод

public AddAdditionalSearchPaths ( ) : void
Результат void
        public void AdditionalSearchPathsRootedAtProjectRoot()
        {
            options = new SlnGenerationOptions(@"C:\Proj\Root");
            options.AddAdditionalSearchPaths(@"..\SearchPath", @"..\..\OtherPath\Pork");

            Assert.That(options.AdditionalSearchPaths, Is.EqualTo(new[] {@"C:\Proj\Root\..\SearchPath", @"C:\Proj\Root\..\..\OtherPath\Pork"}));
        }
        public void AdditionalSearchPathsRootedAtProjectRoot()
        {
            var root = GetSamplePath ("Proj", "Root");
            options = new SlnGenerationOptions(root);
            var path1 = Path.Combine("..", "SearchPath");
            var path2 = Path.Combine("..", "..", "OtherPath", "Pork");
            options.AddAdditionalSearchPaths (path1, path2);

            Assert.That(options.AdditionalSearchPaths, Is.EqualTo(new[] {Path.Combine(root, path1), Path.Combine(root, path2)}));
        }