Esempio n. 1
0
 public TripAdvisorDatabaseIterator(TripAdvisorDatabase d)
 {
     database = d;
     if (!IsValid())
     {
         MoveNext();
     }
 }
Esempio n. 2
0
        public TakingElement(BookingDatabase accomodationData,
                             TripAdvisorDatabase tripsData,
                             ShutterStockDatabase photosData,
                             OysterDatabase reviewData)
        {
            this.accomodationData = accomodationData;
            this.tripsData        = tripsData;
            this.photosData       = photosData;
            this.reviewData       = reviewData;

            if (bookDecrypter == null || photoDecrypter == null || tripDecrypter == null)
            {
                SetDecrypter();
            }
        }
 public TripAdvisorDatabaseIterator(TripAdvisorDatabase database)
 {
     this.database = database;
 }
Esempio n. 4
0
 public TripAdvisorIterator(TripAdvisorDatabase database)
 {
     this.db = database;
     this.HasNext();
     this.Next();
 }
Esempio n. 5
0
 int idx;         //guid array index
 public TripAdvisorIterator(TripAdvisorDatabase _tripAdvisorDatabase)
 {
     tripAdvisorDatabase = _tripAdvisorDatabase;
     First();
 }
 public TripAdvisorDatabaseIterator(TripAdvisorDatabase collection)
 {
     this.collection = collection;
     currentIndex    = 0;
 }
Esempio n. 7
0
 public TripAdvisorDatabaseIterator(TripAdvisorDatabase tad)
 {
     this.tad = tad;
     Reset();
 }
Esempio n. 8
0
 public TripAdvisorDatabaseIterator(TripAdvisorDatabase database)
 {
     this.database   = database;
     actualIndexGuid = -1;
 }
 public TripAdvisorIterator(TripAdvisorDatabase database)
 {
     Database = database;
     Current  = -1;
 }