3 types derived from TranslatableNode
Microsoft.DotNet.XliffTasks (3)
Model\TranslatableXmlDocument.cs (2)
27
protected sealed class TranslatableXmlElement :
TranslatableNode
43
protected sealed class TranslatableXmlAttribute :
TranslatableNode
Model\UnstructuredDocument.cs (1)
77
private sealed class UnstructuredTranslatableNode :
TranslatableNode
15 references to TranslatableNode
Microsoft.DotNet.XliffTasks (15)
Model\JsonDocument.cs (1)
34
protected override IEnumerable<
TranslatableNode
> GetTranslatableNodes()
Model\ResxDocument.cs (1)
16
protected override IEnumerable<
TranslatableNode
> GetTranslatableNodes()
Model\TranslatableDocument.cs (6)
19
public 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"/>.
55
foreach (
TranslatableNode
node in Nodes)
74
protected abstract IEnumerable<
TranslatableNode
> GetTranslatableNodes();
Model\UnstructuredDocument.cs (1)
18
protected override IEnumerable<
TranslatableNode
> GetTranslatableNodes()
Model\VsctDocument.cs (1)
16
protected override IEnumerable<
TranslatableNode
> GetTranslatableNodes()
Model\XamlRuleDocument.cs (1)
25
protected override IEnumerable<
TranslatableNode
> GetTranslatableNodes()
Model\XlfDocument.cs (4)
78
Dictionary<string,
TranslatableNode
> nodesById = new();
79
foreach (
TranslatableNode
node in sourceDocument.Nodes)
116
if (!nodesById.TryGetValue(id, out
TranslatableNode
sourceNode))
178
foreach (
TranslatableNode
sourceNode in sourceDocument.Nodes)