When getting a method using reflection, we specify BindingFlags
like Public
and/or Static
, and When creating a method with Reflection.Emit.MethodBuilder, we specify MethodAttributes
which also have similar values. So, the question is: What is the difference between BindingFlags
and MethodAttributes
? Are they related in some way? If so, is there an easy and short way to infer one from the other? and how?
jeudi 18 juillet 2019
C# What is the Difference between MethodAttributes and BindingFlags?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire