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); }
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); }