ICustomAttributeProvider.cs 574 B

12345678910111213141516171819202122232425
  1. //
  2. // System.Reflection.ICustomAttributeProvider.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 interface ICustomAttributeProvider {
  13. object [] GetCustomAttributes (bool inherit);
  14. object [] GetCustomAttributes (Type attribute_type, bool inherit);
  15. /// <summary>
  16. /// Probes whether one or more `attribute_type' types are
  17. /// defined by this member
  18. /// </summary>
  19. bool IsDefined (Type attribute_type, bool inherit);
  20. }
  21. }