Split Udi into UdiParser & UdiParserServiceConnectors, remove GuidUdi and StringUdi Parse methods (makes no sense), adds generic parse method to UdiParser, simplifies tests, removes Current usage

This commit is contained in:
Shannon
2019-11-13 16:33:40 +11:00
parent 282220ee39
commit c58c31c6bd
24 changed files with 338 additions and 376 deletions

View File

@@ -509,7 +509,7 @@ namespace Umbraco.Web.Editors
throw new HttpResponseException(HttpStatusCode.NotFound);
}
if (Udi.TryParse(id, out _))
if (UdiParser.TryParse(id, out _))
{
//Not supported currently
throw new HttpResponseException(HttpStatusCode.NotFound);