public ShutterStockDatabaseIterator(ShutterStockDatabase database)
 {
     this.database = database;
     i1            = 0;
     i2            = 0;
     i3            = -1;
 }
 public ShutterStockIterator(ShutterStockDatabase database)
 {
     CurrentAlbum    = 0;
     CurrentCategory = 0;
     CurrentPhoto    = 0;
     Current         = null;
     Database        = database;
 }
 public ShutterStockDatabaseIterator(ShutterStockDatabase d)
 {
     database = d;
     if (!IsValid())
     {
         MoveNext();
     }
 }
示例#4
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 ShutterStockDatabaseIterator(ShutterStockDatabase ssd)
 {
     this.ssd = ssd;
     Reset();
 }
示例#6
0
 public ShutterStockIterator(ShutterStockDatabase database)
 {
     this.database = database;
 }
 public ShutterStockDatabaseIterator(ShutterStockDatabase collection)
 {
     this.collection = collection;
     this.MoveNext();
     Reset();
 }
示例#8
0
        int x, y, z;         //indexes

        public ShutterStockIterator(ShutterStockDatabase _shutterStockDatabase)
        {
            photos  = _shutterStockDatabase.Photos;
            decoder = _shutterStockDatabase.GetDecoder();
            First();
        }