jeudi 25 mai 2017

Type.GetInterfaces() workaround for .NET Standard 1.x

.NET Core 1.1 supports Type.GetInterfaces() method which provides a list of the interfaces implemented on a given type. Unfortunately, Type.GetInterfaces() is not yet available in .NET Standard 1.x.

The good news is that it is supposed to included in .NET Standard 2.0.

In the meantime, does anyone know of a workaround I can use to get the list of interfaces on a type in .NET Standard 1.x?

Many thanks!





Aucun commentaire:

Enregistrer un commentaire