XmlIncludeAttribute.cs 608 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // XmlIncludeAttribute.cs:
  3. //
  4. // Author:
  5. // John Donagher ([email protected])
  6. //
  7. // (C) 2002 John Donagher
  8. //
  9. using System;
  10. namespace System.Xml.Serialization
  11. {
  12. /// <summary>
  13. /// Summary description for XmlIncludeAttribute.
  14. /// </summary>
  15. [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
  16. AttributeTargets.Method)]
  17. public class XmlIncludeAttribute : Attribute
  18. {
  19. private Type type;
  20. public XmlIncludeAttribute (Type type)
  21. {
  22. Type = type;
  23. }
  24. public Type Type {
  25. get {
  26. return type;
  27. }
  28. set {
  29. type = value;
  30. }
  31. }
  32. }
  33. }