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