9 references to GetMetadataOrThrow
Microsoft.DotNet.XliffTasks (9)
Tasks\GatherTranslatedSource.cs (4)
26
string translatedFullPath = xlf.
GetMetadataOrThrow
(MetadataKey.XlfTranslatedFullPath);
27
string language = xlf.
GetMetadataOrThrow
(MetadataKey.XlfLanguage);
63
link = xlf.
GetMetadataOrThrow
(MetadataKey.XlfSource);
111
string sourceDirectory = Path.GetDirectoryName(xlf.
GetMetadataOrThrow
(MetadataKey.XlfSource));
Tasks\TranslateSource.cs (4)
18
string sourcePath = XlfFile.
GetMetadataOrThrow
(MetadataKey.XlfSource);
19
string sourceFormat = XlfFile.
GetMetadataOrThrow
(MetadataKey.XlfSourceFormat);
20
string language = XlfFile.
GetMetadataOrThrow
(MetadataKey.XlfLanguage);
21
string translatedFullPath = XlfFile.
GetMetadataOrThrow
(MetadataKey.XlfTranslatedFullPath);
Tasks\UpdateXlf.cs (1)
33
string sourceFormat = item.
GetMetadataOrThrow
(MetadataKey.XlfSourceFormat);