Skip to content

Commit a31958e

Browse files
committed
Fixed visibility of some Media internal extensions
1 parent 6ac896b commit a31958e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Microsoft.Toolkit.Uwp.UI.Media/Extensions/System/GuidExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Media.Extensions
1111
/// <summary>
1212
/// An extension <see langword="class"/> for the <see cref="Guid"/> type
1313
/// </summary>
14-
public static class GuidExtensions
14+
internal static class GuidExtensions
1515
{
1616
/// <summary>
1717
/// Returns a <see cref="string"/> representation of a <see cref="Guid"/> only made of uppercase letters
1818
/// </summary>
1919
/// <param name="guid">The input <see cref="Guid"/> to process</param>
2020
/// <returns>A <see cref="string"/> representation of <paramref name="guid"/> only made up of letters in the [A-Z] range</returns>
2121
[Pure]
22-
internal static string ToUppercaseAsciiLetters(this Guid guid)
22+
public static string ToUppercaseAsciiLetters(this Guid guid)
2323
{
2424
return new string((
2525
from c in guid.ToString("N")

Microsoft.Toolkit.Uwp.UI.Media/Extensions/System/UriExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Media.Extensions
1010
/// <summary>
1111
/// An extension <see langword="class"/> for the <see cref="Uri"/> type
1212
/// </summary>
13-
public static class UriExtensions
13+
internal static class UriExtensions
1414
{
1515
/// <summary>
1616
/// Returns an <see cref="Uri"/> that starts with the ms-appx:// prefix
@@ -19,7 +19,7 @@ public static class UriExtensions
1919
/// <returns>A <see cref="Uri"/> equivalent to the first but relative to ms-appx://</returns>
2020
/// <remarks>This is needed because the XAML converter doesn't use the ms-appx:// prefix</remarks>
2121
[Pure]
22-
internal static Uri ToAppxUri(this Uri uri)
22+
public static Uri ToAppxUri(this Uri uri)
2323
{
2424
if (uri.Scheme.Equals("ms-resource"))
2525
{

0 commit comments

Comments
 (0)