-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ICU4N.Support: Factored out AssemblyExtensions and TypeExtensions in …
…favor of J2N's implementation
- Loading branch information
1 parent
ebbdca6
commit 0e44d1f
Showing
5 changed files
with
24 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace ICU4N.Support.Globalization | ||
{ | ||
internal static class ResourceUtil | ||
{ | ||
/// <summary> | ||
/// Change from JDK-style resource path (Impl/Data/icudt60b/brkitr) to .NET style (Impl.Data.brkitr). | ||
/// This method also removes the version number from the path so we don't have to change it internally | ||
/// from one release to the next. | ||
/// </summary> | ||
public static string ConvertResourceName(string name) | ||
{ | ||
return name.Replace('/', '.').Replace("." + ICU4N.Impl.ICUData.PackageName, ""); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.