public Task <NuGetProject> GetNuGetProjectAsync(string nuGetProjectSafeName) { return(Task.FromResult(NuGetProjects. Where(p => string.Equals(nuGetProjectSafeName, p.GetMetadata <string>(NuGetProjectMetadataKeys.Name), StringComparison.OrdinalIgnoreCase)) .FirstOrDefault())); }
public NuGetProject GetNuGetProject(string nuGetProjectSafeName) { return(NuGetProjects. Where(p => string.Equals(nuGetProjectSafeName, p.GetMetadata <string>(NuGetProjectMetadataKeys.Name), StringComparison.OrdinalIgnoreCase)) .FirstOrDefault()); }