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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlSchemaSubstitutionGroup.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.Collections;
  20.     using System.Xml.Serialization;
  21.    
  22.     internal class XmlSchemaSubstitutionGroup : XmlSchemaObject
  23.     {
  24.         ArrayList membersList = new ArrayList();
  25.         XmlQualifiedName examplar = XmlQualifiedName.Empty;
  26.        
  27.         [XmlIgnore()]
  28.         internal ArrayList Members {
  29.             get { return membersList; }
  30.         }
  31.        
  32.         [XmlIgnore()]
  33.         internal XmlQualifiedName Examplar {
  34.             get { return examplar; }
  35.             set { examplar = value; }
  36.         }
  37.     }
  38.    
  39.     internal class XmlSchemaSubstitutionGroupV1Compat : XmlSchemaSubstitutionGroup
  40.     {
  41.         XmlSchemaChoice choice = new XmlSchemaChoice();
  42.        
  43.         [XmlIgnore()]
  44.         internal XmlSchemaChoice Choice {
  45.             get { return choice; }
  46.         }
  47.        
  48.     }
  49. }

Developer Fusion