Beispiel #1
0
        public XElement ToXml( )
        {
            var xml = new XElement(
                new XElement(
                    @"Level",
                    _properties.SerializeToXml( ),
                    Behaviours.ToXml( ),
                    new XElement(
                        @"Layers",
                        Layers.Select(l => l.ToXml( )))
                    ));

            TypeLookup.Compress(xml);

            return(xml);
        }