1 write to Id
Microsoft.DotNet.XliffTasks (1)
Model\TranslatableNode.cs (1)
13Id = id;
9 references to Id
Microsoft.DotNet.XliffTasks (9)
Model\JsonDocument.cs (2)
35=> _json.Select(kvp => new Node(_json, kvp.Key, kvp.Value)).OrderBy(entry => entry.Id); 41json[Id] = translation;
Model\TranslatableDocument.cs (1)
57if (translations.TryGetValue(node.Id, out string translation))
Model\XlfDocument.cs (5)
82if (nodesById.ContainsKey(node.Id)) 84throw new BuildErrorException($"The document '{sourceDocumentId}' has a duplicate node '{node.Id}'."); 87nodesById.Add(node.Id, node); 183if (!nodesById.ContainsKey(sourceNode.Id)) 190new XAttribute("id", sourceNode.Id),
Tasks\TransformTemplates.cs (1)
101Dictionary<string, string> defaultTranslation = document.Nodes.ToDictionary(node => node.Id, node => node.Source);