diff options
author | Rob Mensching <rob@firegiant.com> | 2019-03-01 07:33:20 -0800 |
---|---|---|
committer | Rob Mensching <rob@robmensching.com> | 2019-03-01 07:57:55 -0800 |
commit | a4f5a5a042c00254607fbecdf132a2e2a91a1bdd (patch) | |
tree | 9edb392b55a902259dcaaa3cecd2fa359c3797f2 /src/WixToolset.Core/ILocalizationParser.cs | |
parent | 138e65b99c215eb8277ad60c16cf7ceb0faff842 (diff) | |
download | wix-a4f5a5a042c00254607fbecdf132a2e2a91a1bdd.tar.gz wix-a4f5a5a042c00254607fbecdf132a2e2a91a1bdd.tar.bz2 wix-a4f5a5a042c00254607fbecdf132a2e2a91a1bdd.zip |
Rename ILocalizer to ILocalizationParser
Diffstat (limited to 'src/WixToolset.Core/ILocalizationParser.cs')
-rw-r--r-- | src/WixToolset.Core/ILocalizationParser.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/WixToolset.Core/ILocalizationParser.cs b/src/WixToolset.Core/ILocalizationParser.cs new file mode 100644 index 00000000..0e70aa0e --- /dev/null +++ b/src/WixToolset.Core/ILocalizationParser.cs | |||
@@ -0,0 +1,27 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Core | ||
4 | { | ||
5 | using System.Xml.Linq; | ||
6 | using WixToolset.Data; | ||
7 | |||
8 | /// <summary> | ||
9 | /// Parses localization source files. | ||
10 | /// </summary> | ||
11 | public interface ILocalizationParser | ||
12 | { | ||
13 | /// <summary> | ||
14 | /// Loads a localization file from a path on disk. | ||
15 | /// </summary> | ||
16 | /// <param name="path">Path to localization file saved on disk.</param> | ||
17 | /// <returns>Returns the loaded localization file.</returns> | ||
18 | Localization ParseLocalization(string path); | ||
19 | |||
20 | /// <summary> | ||
21 | /// Loads a localization file from memory. | ||
22 | /// </summary> | ||
23 | /// <param name="document">Document to parse as localization file.</param> | ||
24 | /// <returns>Returns the loaded localization file.</returns> | ||
25 | Localization ParseLocalization(XDocument document); | ||
26 | } | ||
27 | } | ||