Reflection in D

medhi558 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 27 23:10:27 PST 2017


I have a last question, currently i use :
if(lc.name.indexOf("protocol.messages") != -1)

To know if the class is a NetworkMessage, Would be possible to do 
this

if(lc is NetworkMessage)


Sorry for my English, i speak french.


More information about the Digitalmars-d-learn mailing list