Example #1
0
 public JEventListResult()
 {
     Images       = new List <JImage>();
     Dates        = new JDate[0];
     Place        = new JPlace();
     Location     = new JLocation();
     Participants = new List <JParticipant>();
     Categories   = new string[0];
 }
Example #2
0
        public Place(JPlace jPlace)
        {
            if (jPlace == null)
            {
                Coords = new Coordinates(new JCoordinates());
                return;
            }

            Id       = jPlace.Id;
            Title    = jPlace.Title;
            Slug     = jPlace.Slug;
            Address  = jPlace.Address;
            Phone    = jPlace.Phone;
            Subway   = jPlace.Subway;
            Location = jPlace.Location;
            IsStub   = jPlace.Is_Stub;
            SiteUrl  = jPlace.Site_Url;
            Coords   = new Coordinates(jPlace.Coords);
            IsClosed = jPlace.Is_Closed;
        }
Example #3
0
 public JSelectionItem()
 {
     Place       = new JPlace();
     Daterange   = new JDate();
     first_image = new JImage();
 }