fix issue #170 which is related to the host user not being part of the Registered Users role

This commit is contained in:
Shaun Walker
2019-11-13 18:39:04 -05:00
parent ffba735aac
commit b4cd038e17
12 changed files with 177 additions and 19 deletions

View File

@ -70,6 +70,18 @@ namespace Oqtane.Shared
}
}
public static string GetFullTypeName(string fullyqualifiedtypename)
{
if (fullyqualifiedtypename.Contains(", Version="))
{
return fullyqualifiedtypename.Substring(0, fullyqualifiedtypename.IndexOf(", Version="));
}
else
{
return fullyqualifiedtypename;
}
}
public static string GetTypeNameLastSegment(string typename, int segment)
{
if (typename.Contains(","))