Inheritance: ItemProperties
Beispiel #1
0
        public Layer( XElement xml )
        {
            _properties = xml.Element( @"LayerProperties" ).DeserializedAs<LayerProperties>(  ) ;

            _items = (from x in xml.CertainElement( @"Editors" ).Elements(@"Editor" )
                         select new LayerItem( x )).ToList(  ) ;
        }
Beispiel #2
0
        public Layer(XElement xml)
        {
            _properties = xml.Element(@"LayerProperties").DeserializedAs <LayerProperties>(  );

            _items = (from x in xml.CertainElement(@"Editors").Elements(@"Editor")
                      select new LayerItem(x)).ToList(  );
        }