Make some markup-related classes public

This commit is contained in:
Yoshi Askharoun
2024-02-02 23:26:38 -06:00
parent e9859b350a
commit ab51ed67bf
8 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -184,7 +184,7 @@ namespace Microsoft.Iris.Markup
public static void UnloadAll() => LoadResultCache.Clear();
internal static bool RegisterFactoryByProtocol(string protocol, CreateLoadResultHandler handler)
public static bool RegisterFactoryByProtocol(string protocol, CreateLoadResultHandler handler)
{
if (protocol.EndsWith("://", StringComparison.Ordinal))
protocol = protocol.Substring(0, protocol.Length - 3);
@@ -207,7 +207,7 @@ namespace Microsoft.Iris.Markup
return flag;
}
internal static bool RegisterFactoryByExtension(string extension, CreateLoadResultHandler handler)
public static bool RegisterFactoryByExtension(string extension, CreateLoadResultHandler handler)
{
bool flag = true;
if (!extension.StartsWith(".", StringComparison.Ordinal))