示例#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];
 }
示例#2
0
        public LocationImpl(JLocation jLocation)
        {
            if (jLocation == null)
            {
                Coords = new Coordinates(new JCoordinates());
                return;
            }

            Slug     = jLocation.Slug;
            Name     = jLocation.Name;
            TimeZone = jLocation.TimeZone;
            Coords   = new Coordinates(jLocation.Coords);
            Language = jLocation.Language;
            Currency = jLocation.Currency;
        }