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