retesere20

----customattributes-c-dumpall

May 25th, 2019
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. /*
  3. if(false) {
  4. result += nl + "------Attributes------" + nl;
  5. //Type t = typeof( );
  6. Type t= obj.GetType();
  7. result += "Att Members of " + t.FullName + nl;
  8. foreach (MemberInfo prop in t.GetMembers())
  9. {
  10. bool hasAttribute = false;
  11. result += prop.Name + nl;
  12. if (prop.GetCustomAttributes(true).Length > 0) {
  13. result += "["+ prop.MemberType.ToString() +"] " + prop.MemberType + nl;
  14. }
  15. }
  16. }
  17. */
RAW Paste Data