Exemple #1
0
 public ProjectKey(SolutionKey solution, ProjectId id, string?filePath, string name, Checksum parseOptionsChecksum)
 {
     Solution             = solution;
     Id                   = id;
     FilePath             = filePath;
     Name                 = name;
     ParseOptionsChecksum = parseOptionsChecksum;
 }
Exemple #2
0
 public static ProjectKey ToProjectKey(SolutionKey solutionKey, ProjectState projectState)
 => new(solutionKey, projectState.Id, projectState.FilePath, projectState.Name, projectState.GetParseOptionsChecksum());
Exemple #3
0
 public static ProjectKey ToProjectKey(SolutionState solutionState, ProjectState projectState)
 => ToProjectKey(SolutionKey.ToSolutionKey(solutionState), projectState);