• [^] # Re: Type.GetInterfaces()

    Posté par . En réponse au message Problème avec IsSubclassOf. Évalué à 1.

    Merci pour le code

    if(i == typeof(System.Collections.ICollection))


    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)