SHARE
TWEET

----customattributes-c-dumpall

selnomeria May 25th, 2019 13 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top