XmlReflectionMember.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlReflectionMember.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">Microsoft</owner>
  6. //------------------------------------------------------------------------------
  7. namespace System.Xml.Serialization {
  8. using System;
  9. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember"]/*' />
  10. ///<internalonly/>
  11. /// <devdoc>
  12. /// <para>[To be supplied.]</para>
  13. /// </devdoc>
  14. public class XmlReflectionMember {
  15. string memberName;
  16. Type type;
  17. XmlAttributes xmlAttributes = new XmlAttributes();
  18. SoapAttributes soapAttributes = new SoapAttributes();
  19. bool isReturnValue;
  20. bool overrideIsNullable;
  21. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.MemberType"]/*' />
  22. /// <devdoc>
  23. /// <para>[To be supplied.]</para>
  24. /// </devdoc>
  25. public Type MemberType {
  26. get { return type; }
  27. set { type = value; }
  28. }
  29. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.XmlAttributes"]/*' />
  30. /// <devdoc>
  31. /// <para>[To be supplied.]</para>
  32. /// </devdoc>
  33. public XmlAttributes XmlAttributes {
  34. get { return xmlAttributes; }
  35. set { xmlAttributes = value; }
  36. }
  37. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.SoapAttributes"]/*' />
  38. /// <devdoc>
  39. /// <para>[To be supplied.]</para>
  40. /// </devdoc>
  41. public SoapAttributes SoapAttributes {
  42. get { return soapAttributes; }
  43. set { soapAttributes = value; }
  44. }
  45. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.MemberName"]/*' />
  46. /// <devdoc>
  47. /// <para>[To be supplied.]</para>
  48. /// </devdoc>
  49. public string MemberName {
  50. get { return memberName == null ? string.Empty : memberName; }
  51. set { memberName = value; }
  52. }
  53. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.IsReturnValue"]/*' />
  54. /// <devdoc>
  55. /// <para>[To be supplied.]</para>
  56. /// </devdoc>
  57. public bool IsReturnValue {
  58. get { return isReturnValue; }
  59. set { isReturnValue = value; }
  60. }
  61. /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.OverrideIsNullable"]/*' />
  62. /// <devdoc>
  63. /// <para>[To be supplied.]</para>
  64. /// </devdoc>
  65. public bool OverrideIsNullable {
  66. get { return overrideIsNullable; }
  67. set { overrideIsNullable = value; }
  68. }
  69. }
  70. }