SoapIncludeAttribute.cs 661 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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)]
  17. public class SoapIncludeAttribute : Attribute
  18. {
  19. private Type type;
  20. public SoapIncludeAttribute ()
  21. {
  22. }
  23. public SoapIncludeAttribute( Type type)
  24. {
  25. Type = type;
  26. }
  27. public Type Type
  28. {
  29. get {
  30. return type;
  31. }
  32. set {
  33. type = value;
  34. }
  35. }
  36. }
  37. }