3 types derived from TranslatableNode
Microsoft.DotNet.XliffTasks (3)
Model\TranslatableXmlDocument.cs (2)
27protected sealed class TranslatableXmlElement : TranslatableNode 43protected sealed class TranslatableXmlAttribute : TranslatableNode
Model\UnstructuredDocument.cs (1)
77private sealed class UnstructuredTranslatableNode : TranslatableNode
15 references to TranslatableNode
Microsoft.DotNet.XliffTasks (15)
Model\JsonDocument.cs (1)
34protected override IEnumerable<TranslatableNode> GetTranslatableNodes()
Model\ResxDocument.cs (1)
16protected override IEnumerable<TranslatableNode> GetTranslatableNodes()
Model\TranslatableDocument.cs (6)
19public IReadOnlyList<TranslatableNode> Nodes { get; private set; } = Array.Empty<TranslatableNode>(); 48/// Keys align with <see cref="TranslatableNode.Id"/>. 49/// Values indicate the text with which to replace <see cref="TranslatableNode.Source"/>. 55foreach (TranslatableNode node in Nodes) 74protected abstract IEnumerable<TranslatableNode> GetTranslatableNodes();
Model\UnstructuredDocument.cs (1)
18protected override IEnumerable<TranslatableNode> GetTranslatableNodes()
Model\VsctDocument.cs (1)
16protected override IEnumerable<TranslatableNode> GetTranslatableNodes()
Model\XamlRuleDocument.cs (1)
25protected override IEnumerable<TranslatableNode> GetTranslatableNodes()
Model\XlfDocument.cs (4)
78Dictionary<string, TranslatableNode> nodesById = new(); 79foreach (TranslatableNode node in sourceDocument.Nodes) 116if (!nodesById.TryGetValue(id, out TranslatableNode sourceNode)) 178foreach (TranslatableNode sourceNode in sourceDocument.Nodes)