previously I had :
public class PresentationModelConventionScanner : ITypeScanner
{
public void Process(Type type, PluginGraph graph)
{
Type interfaceType = type.FindInterfaceThatCloses(typeof(IPresentationModel<>));
if (interfaceType != null)
{
graph.AddType(interfaceType, type);
}
}
but 2.5.4 does not support FindInterfaceThatCloses anymore ...
it seems you have to implement IRegistrationConvention instead of ITypeScanner, so the Process method syntax has to change too...
Could not find any example yet...