The Labs \ Source Viewer \ SSCLI \ System.Xml.Schema \ XmlSchemaGroupRef

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlSchemaGroupRef.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">priyal</owner>
  15. //------------------------------------------------------------------------------
  16. namespace System.Xml.Schema
  17. {
  18.    
  19.     using System.Xml.Serialization;
  20.    
  21.     /// <include file='doc\XmlSchemaGroupRef.uex' path='docs/doc[@for="XmlSchemaGroupRef"]/*' />
  22.     /// <devdoc>
  23.     /// <para>[To be supplied.]</para>
  24.     /// </devdoc>
  25.     public class XmlSchemaGroupRef : XmlSchemaParticle
  26.     {
  27.         XmlQualifiedName refName = XmlQualifiedName.Empty;
  28.         XmlSchemaGroupBase particle;
  29.         XmlSchemaGroup refined;
  30.        
  31.         /// <include file='doc\XmlSchemaGroupRef.uex' path='docs/doc[@for="XmlSchemaGroupRef.RefName"]/*' />
  32.         /// <devdoc>
  33.         /// <para>[To be supplied.]</para>
  34.         /// </devdoc>
  35.         [XmlAttribute("ref")]
  36.         public XmlQualifiedName RefName {
  37.             get { return refName; }
  38.             set { refName = (value == null ? XmlQualifiedName.Empty : value); }
  39.         }
  40.        
  41.         /// <include file='doc\XmlSchemaGroupRef.uex' path='docs/doc[@for="XmlSchemaGroupRef.Particle"]/*' />
  42.         /// <devdoc>
  43.         /// <para>[To be supplied.]</para>
  44.         /// </devdoc>
  45.         [XmlIgnore()]
  46.         public XmlSchemaGroupBase Particle {
  47.             get { return particle; }
  48.         }
  49.        
  50.         internal void SetParticle(XmlSchemaGroupBase value)
  51.         {
  52.             particle = value;
  53.         }
  54.        
  55.         [XmlIgnore()]
  56.         internal XmlSchemaGroup Redefined {
  57.             get { return refined; }
  58.             set { refined = value; }
  59.         }
  60.     }
  61. }

Developer Fusion