SoapIncludeAttribute.cs 636 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // SoapIncludeAttribute.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 SoapIncludeAttribute.
  14. /// </summary>
  15. [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
  16. AttributeTargets.Method, AllowMultiple=true)]
  17. public class SoapIncludeAttribute : Attribute
  18. {
  19. private Type type;
  20. public SoapIncludeAttribute( Type type)
  21. {
  22. Type = type;
  23. }
  24. public Type Type
  25. {
  26. get {
  27. return type;
  28. }
  29. set {
  30. type = value;
  31. }
  32. }
  33. }
  34. }