Exemple #1
0
 public override void MakeSchemaCompliant()
 {
     base.MakeSchemaCompliant();
     Pos.MakeSchemaCompliant();
     PointProperty.MakeSchemaCompliant();
     PointRep.MakeSchemaCompliant();
     PosList.MakeSchemaCompliant();
     Coordinates.MakeSchemaCompliant();
     Radius.MakeSchemaCompliant();
 }
        //[XmlAttribute(AttributeName = "numArc", DataType = "integer")]
        //public new string NumArc
        //{
        //    get { return _numArc; }
        //    set { _numArc = value; }
        //}

        //[XmlElement(Type = typeof(PointProperty), ElementName = "pointProperty", IsNullable = false,
        //    Form = XmlSchemaForm.Qualified, Namespace = Declarations.SchemaVersion)]
        //public new List<PointProperty> PointProperty
        //{
        //    get
        //    {
        //        if (_pointProperty == null)
        //        {
        //            _pointProperty = new List<PointProperty>();
        //        }
        //        return _pointProperty;
        //    }
        //    set { _pointProperty = value; }
        //}

        //[XmlElement(Type = typeof(PointRep), ElementName = "pointRep", IsNullable = false,
        //    Form = XmlSchemaForm.Qualified, Namespace = Declarations.SchemaVersion)]
        //public new List<PointRep> PointRep
        //{
        //    get
        //    {
        //        if (_pointRep == null)
        //        {
        //            _pointRep = new List<PointRep>();
        //        }
        //        return _pointRep;
        //    }
        //    set { _pointRep = value; }
        //}

        //[XmlElement(Type = typeof(Pos), ElementName = "pos", IsNullable = false, Form = XmlSchemaForm.Qualified,
        //    Namespace = Declarations.SchemaVersion)]
        //public new List<Pos> Pos
        //{
        //    get
        //    {
        //        if (_pos == null)
        //        {
        //            _pos = new List<Pos>();
        //        }
        //        return _pos;
        //    }
        //    set { _pos = value; }
        //}

        //[XmlElement(Type = typeof(PosList), ElementName = "posList", IsNullable = false, Form = XmlSchemaForm.Qualified
        //    , Namespace = Declarations.SchemaVersion)]
        //public new PosList PosList
        //{
        //    get { return _posList; }
        //    set { _posList = value; }
        //}

        public override void MakeSchemaCompliant()
        {
            base.MakeSchemaCompliant();
            foreach (Pos _c in Pos)
            {
                _c.MakeSchemaCompliant();
            }
            foreach (PointProperty _c in PointProperty)
            {
                _c.MakeSchemaCompliant();
            }
            foreach (PointRep _c in PointRep)
            {
                _c.MakeSchemaCompliant();
            }
            PosList.MakeSchemaCompliant();
            Coordinates.MakeSchemaCompliant();
            Normal.MakeSchemaCompliant();
        }