The Labs \ Source Viewer \ SSCLI \ System.Xml.Serialization \ XmlReflectionMember

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlReflectionMember.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. // <owner current="true" primary="true">ElenaK</owner>
  15. //------------------------------------------------------------------------------
  16. namespace System.Xml.Serialization
  17. {
  18.    
  19.     using System;
  20.    
  21.     /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember"]/*' />
  22.     ///<internalonly/>
  23.     /// <devdoc>
  24.     /// <para>[To be supplied.]</para>
  25.     /// </devdoc>
  26.     public class XmlReflectionMember
  27.     {
  28.         string memberName;
  29.         Type type;
  30.         XmlAttributes xmlAttributes = new XmlAttributes();
  31.         SoapAttributes soapAttributes = new SoapAttributes();
  32.         bool isReturnValue;
  33.         bool overrideIsNullable;
  34.        
  35.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.MemberType"]/*' />
  36.         /// <devdoc>
  37.         /// <para>[To be supplied.]</para>
  38.         /// </devdoc>
  39.         public Type MemberType {
  40.             get { return type; }
  41.             set { type = value; }
  42.         }
  43.        
  44.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.XmlAttributes"]/*' />
  45.         /// <devdoc>
  46.         /// <para>[To be supplied.]</para>
  47.         /// </devdoc>
  48.         public XmlAttributes XmlAttributes {
  49.             get { return xmlAttributes; }
  50.             set { xmlAttributes = value; }
  51.         }
  52.        
  53.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.SoapAttributes"]/*' />
  54.         /// <devdoc>
  55.         /// <para>[To be supplied.]</para>
  56.         /// </devdoc>
  57.         public SoapAttributes SoapAttributes {
  58.             get { return soapAttributes; }
  59.             set { soapAttributes = value; }
  60.         }
  61.        
  62.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.MemberName"]/*' />
  63.         /// <devdoc>
  64.         /// <para>[To be supplied.]</para>
  65.         /// </devdoc>
  66.         public string MemberName {
  67.             get { return memberName == null ? string.Empty : memberName; }
  68.             set { memberName = value; }
  69.         }
  70.        
  71.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.IsReturnValue"]/*' />
  72.         /// <devdoc>
  73.         /// <para>[To be supplied.]</para>
  74.         /// </devdoc>
  75.         public bool IsReturnValue {
  76.             get { return isReturnValue; }
  77.             set { isReturnValue = value; }
  78.         }
  79.        
  80.         /// <include file='doc\XmlReflectionMember.uex' path='docs/doc[@for="XmlReflectionMember.OverrideIsNullable"]/*' />
  81.         /// <devdoc>
  82.         /// <para>[To be supplied.]</para>
  83.         /// </devdoc>
  84.         public bool OverrideIsNullable {
  85.             get { return overrideIsNullable; }
  86.             set { overrideIsNullable = value; }
  87.         }
  88.     }
  89.    
  90.    
  91. }

Developer Fusion