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