File: System\Xml\Schema\XmlSchemaGroupRef.cs
Web Access
Project: src\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj (System.Private.Xml)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Xml.Serialization;
 
namespace System.Xml.Schema
{
    public class XmlSchemaGroupRef : XmlSchemaParticle
    {
        private XmlQualifiedName _refName = XmlQualifiedName.Empty;
        private XmlSchemaGroupBase? _particle;
        private XmlSchemaGroup? _refined;
 
        [XmlAttribute("ref")]
        public XmlQualifiedName RefName
        {
            get { return _refName; }
            set { _refName = value ?? XmlQualifiedName.Empty; }
        }
 
        [XmlIgnore]
        public XmlSchemaGroupBase? Particle
        {
            get { return _particle; }
        }
 
        internal void SetParticle(XmlSchemaGroupBase value)
        {
            _particle = value;
        }
 
        [XmlIgnore]
        internal XmlSchemaGroup? Redefined
        {
            get { return _refined; }
            set { _refined = value; }
        }
    }
}