- Oops.
This commit is contained in:
@@ -223,7 +223,8 @@ public class PluginManagementService : IAssemblyManagementService
|
|||||||
foreach (var type in ass.GetSafeTypes())
|
foreach (var type in ass.GetSafeTypes())
|
||||||
{
|
{
|
||||||
if ((includeInterfaces || !type.IsInterface)
|
if ((includeInterfaces || !type.IsInterface)
|
||||||
&& (includeAbstractTypes || !type.IsAbstract))
|
&& (includeAbstractTypes || !type.IsAbstract)
|
||||||
|
&& type.IsAssignableTo(typeof(T)))
|
||||||
{
|
{
|
||||||
builder.Add(type);
|
builder.Add(type);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user