1 write to Id
Microsoft.DotNet.XliffTasks (1)
Model\TranslatableNode.cs (1)
13Id = id;
8 references to Id
Microsoft.DotNet.XliffTasks (8)
Model\TranslatableDocument.cs (2)
48/// Keys align with <see cref="TranslatableNode.Id"/>. 57if (translations.TryGetValue(node.Id, out string translation))
Model\XlfDocument.cs (5)
81if (nodesById.ContainsKey(node.Id)) 83throw new BuildErrorException($"The document '{sourceDocumentId}' has a duplicate node '{node.Id}'."); 86nodesById.Add(node.Id, node); 182if (!nodesById.ContainsKey(sourceNode.Id)) 189new XAttribute("id", sourceNode.Id),
Tasks\TransformTemplates.cs (1)
93Dictionary<string, string> defaultTranslation = document.Nodes.ToDictionary(node => node.Id, node => node.Source);