MemberInfo.cs 706 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // System.Reflection.MemberInfo.cs
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. // TODO: Mucho left to implement.
  10. //
  11. namespace System.Reflection {
  12. public abstract class MemberInfo : ICustomAttributeProvider {
  13. public abstract Type DeclaringType {
  14. get;
  15. }
  16. public abstract MemberTypes MemberType {
  17. get;
  18. }
  19. public abstract string Name {
  20. get;
  21. }
  22. public abstract Type ReflectedType {
  23. get;
  24. }
  25. public abstract bool IsDefined (Type attribute_type, bool inherit);
  26. public abstract object [] GetCustomAttributes (bool inherit);
  27. public abstract object [] GetCustomAttributes (Type attribute_type, bool inherit);
  28. }
  29. }