public static ReferenceStatus Create(ArchivedProjectAndVersion archivedProjectAndVersion, ProjectDependencyDirectory dependencyDirectory)
 {
   bool isAnyVersionInstalled = dependencyDirectory.IsAnythingInstalled;
   bool isReferencedVersionInstalled = !dependencyDirectory.HasVersionOlderThan(archivedProjectAndVersion.Version);
   bool isOlderVersionInstalled = dependencyDirectory.HasVersionOlderThan(archivedProjectAndVersion.Version);
   bool isToLatestVersion = archivedProjectAndVersion.Project.LatestVersion.Number == archivedProjectAndVersion.Version.Number;
   return new ReferenceStatus(archivedProjectAndVersion.Project.Name, archivedProjectAndVersion.Version.Number, isToLatestVersion, isAnyVersionInstalled, isOlderVersionInstalled, isReferencedVersionInstalled, archivedProjectAndVersion.Version.Tags);
 }
 public HealthyProjectReference(Project parentProject, ArchivedProjectAndVersion archivedProjectAndVersion)
 {
   _parentProject = parentProject;
   _archivedProjectAndVersion = archivedProjectAndVersion;
   _installed = new ProjectDependencyDirectory(_parentProject, _archivedProjectAndVersion.Project);
 }