NuGet.Commands.ProjectFactory.GetNuspecPaths C# (CSharp) Метод

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

private GetNuspecPaths ( ) : IEnumerable
Результат IEnumerable
        private IEnumerable<string> GetNuspecPaths()
        {
            // Check for a nuspec in the project file
            yield return GetContentOrNone(file => Path.GetExtension(file).Equals(Constants.ManifestExtension, StringComparison.OrdinalIgnoreCase));
            // Check for a nuspec named after the project
            yield return Path.Combine(_project.DirectoryPath, Path.GetFileNameWithoutExtension(_project.FullPath) + Constants.ManifestExtension);
        }