protected internal GeoPlanetPlace()
        {
            Center      = new Coordinates(null, null);
            BoundingBox = new BoundingBox(null, null, null, null);
            Country     = new GeoPlanetAdmin();
            Admin1      = new GeoPlanetAdmin();
            Admin2      = new GeoPlanetAdmin();
            Admin3      = new GeoPlanetAdmin();
            Locality1   = new GeoPlanetLocality();
            Locality2   = new GeoPlanetLocality();

            // ReSharper disable DoNotCallOverridableMethodsInConstructor
            Children  = new Collection <GeoPlanetPlace>();
            Ancestors = new Collection <GeoPlanetPlaceNode>();
            Offspring = new Collection <GeoPlanetPlaceNode>();
            BelongTos = new Collection <GeoPlanetPlaceBelongTo>();
            // ReSharper restore DoNotCallOverridableMethodsInConstructor
        }
Beispiel #2
0
        protected internal GeoPlanetPlace()
        {
            Center = new Coordinates(null, null);
            BoundingBox = new BoundingBox(null, null, null, null);
            Country = new GeoPlanetAdmin();
            Admin1 = new GeoPlanetAdmin();
            Admin2 = new GeoPlanetAdmin();
            Admin3 = new GeoPlanetAdmin();
            Locality1 = new GeoPlanetLocality();
            Locality2 = new GeoPlanetLocality();

            // ReSharper disable DoNotCallOverridableMethodsInConstructor
            Children = new Collection<GeoPlanetPlace>();
            Ancestors = new Collection<GeoPlanetPlaceNode>();
            Offspring = new Collection<GeoPlanetPlaceNode>();
            BelongTos = new Collection<GeoPlanetPlaceBelongTo>();
            // ReSharper restore DoNotCallOverridableMethodsInConstructor
        }