AssemblyDescriptionAttribute.cs 518 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // System.Reflection.AssemblyDescriptionAttribute.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc. http://www.ximian.com
  7. //
  8. namespace System.Reflection
  9. {
  10. [AttributeUsage (AttributeTargets.Assembly)]
  11. public sealed class AssemblyDescriptionAttribute : Attribute
  12. {
  13. // Field
  14. private string name;
  15. // Constructor
  16. public AssemblyDescriptionAttribute (string description)
  17. {
  18. name = description;
  19. }
  20. // Property
  21. public string Description
  22. {
  23. get { return name; }
  24. }
  25. }
  26. }