XmlReflectionMember.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // System.Xml.Serialization.XmlReflectionMember
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. namespace System.Xml.Serialization {
  10. public class XmlReflectionMember {
  11. #region Fields
  12. bool isReturnValue;
  13. string memberName;
  14. Type memberType;
  15. bool overrideIsNullable;
  16. SoapAttributes soapAttributes;
  17. XmlAttributes xmlAttributes;
  18. #endregion
  19. #region Constructors
  20. public XmlReflectionMember (string name, Type type, XmlAttributes attributes)
  21. {
  22. memberName = name;
  23. memberType = type;
  24. xmlAttributes = attributes;
  25. }
  26. #endregion // Constructors
  27. #region Properties
  28. public bool IsReturnValue {
  29. get { return isReturnValue; }
  30. set { isReturnValue = value; }
  31. }
  32. public string MemberName {
  33. get { return memberName; }
  34. set { memberName = value; }
  35. }
  36. public Type MemberType {
  37. get { return memberType; }
  38. set { memberType = value; }
  39. }
  40. public bool OverrideIsNullable {
  41. get { return overrideIsNullable; }
  42. set { overrideIsNullable = value; }
  43. }
  44. public SoapAttributes SoapAttributes {
  45. get { return soapAttributes; }
  46. set { soapAttributes = value; }
  47. }
  48. public XmlAttributes XmlAttributes {
  49. get { return xmlAttributes; }
  50. set { xmlAttributes = value; }
  51. }
  52. #endregion // Properties
  53. }
  54. }