public DocumentKey(ProjectKey project, DocumentId id, string filePath, string name)
 {
     Project  = project;
     Id       = id;
     FilePath = filePath;
     Name     = name;
 }
Beispiel #2
0
 public static DocumentKey ToDocumentKey(ProjectKey projectKey, TextDocumentState state)
 => new(projectKey, state.Id, state.FilePath, state.Name);
Beispiel #3
0
 public static DocumentKey ToDocumentKey(Document document)
 => ToDocumentKey(ProjectKey.ToProjectKey(document.Project), document.State);