- Added default load context type resolution.
This commit is contained in:
@@ -119,9 +119,18 @@ public class PluginManagementService : IPluginManagementService, IAssemblyManage
|
|||||||
if (includeDefaultContext)
|
if (includeDefaultContext)
|
||||||
{
|
{
|
||||||
var type = Type.GetType(typeName, false);
|
var type = Type.GetType(typeName, false);
|
||||||
|
if (type is not null)
|
||||||
|
{
|
||||||
|
if (isByRefType)
|
||||||
|
{
|
||||||
|
return type.MakeByRefType();
|
||||||
|
}
|
||||||
|
|
||||||
|
return type;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: implement by-ref type resolution
|
//TODO: implement ALC resolutions.
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user