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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlTypeMapping.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.Reflection;
  20.     using System;
  21.    
  22.     /// <include file='doc\XmlTypeMapping.uex' path='docs/doc[@for="XmlTypeMapping"]/*' />
  23.     /// <devdoc>
  24.     /// <para>[To be supplied.]</para>
  25.     /// </devdoc>
  26.     public class XmlTypeMapping : XmlMapping
  27.     {
  28.        
  29.         internal XmlTypeMapping(TypeScope scope, ElementAccessor accessor) : base(scope, accessor)
  30.         {
  31.         }
  32.        
  33.         internal TypeMapping Mapping {
  34.             get { return Accessor.Mapping; }
  35.         }
  36.        
  37.         /// <include file='doc\XmlTypeMapping.uex' path='docs/doc[@for="XmlTypeMapping.TypeName"]/*' />
  38.         /// <devdoc>
  39.         /// <para>[To be supplied.]</para>
  40.         /// </devdoc>
  41.         public string TypeName {
  42.             get { return Mapping.TypeDesc.Name; }
  43.         }
  44.        
  45.         /// <include file='doc\XmlTypeMapping.uex' path='docs/doc[@for="XmlTypeMapping.TypeFullName"]/*' />
  46.         /// <devdoc>
  47.         /// <para>[To be supplied.]</para>
  48.         /// </devdoc>
  49.         public string TypeFullName {
  50.             get { return Mapping.TypeDesc.FullName; }
  51.         }
  52.        
  53.         /// <include file='doc\XmlTypeMapping.uex' path='docs/doc[@for="XmlTypeMapping.XsdTypeName"]/*' />
  54.         /// <devdoc>
  55.         /// <para>[To be supplied.]</para>
  56.         /// </devdoc>
  57.         public string XsdTypeName {
  58.             get { return Mapping.TypeName; }
  59.         }
  60.        
  61.         /// <include file='doc\XmlTypeMapping.uex' path='docs/doc[@for="XmlTypeMapping.XsdTypeNamespace"]/*' />
  62.         /// <devdoc>
  63.         /// <para>[To be supplied.]</para>
  64.         /// </devdoc>
  65.         public string XsdTypeNamespace {
  66.             get { return Mapping.Namespace; }
  67.         }
  68.     }
  69. }

Developer Fusion