Je pense que je dois remplacer cette ligne par:
if (i == typeof(PluginInterface))
Mais cela donne toujours fase:
Console.WriteLine("but this is NOT a plugin ({0}) ({1})", i, typeof(PluginInterface)) =>
but this is NOT a plugin (PluginInterface) (PluginInterface)
[^] # Re: Type.GetInterfaces()
Posté par jusob . En réponse au message Problème avec IsSubclassOf. Évalué à 1.
Je pense que je dois remplacer cette ligne par:
if (i == typeof(PluginInterface))
Mais cela donne toujours fase:
Console.WriteLine("but this is NOT a plugin ({0}) ({1})", i, typeof(PluginInterface)) =>
but this is NOT a plugin (PluginInterface) (PluginInterface)