Exemple #1
0
 private void CloseIterator()
 {
     if (this.iterator != null)
     {
         this.iterator.Dispose();
         this.iterator = null;
     }
 }
Exemple #2
0
 private void Dispose(bool disposing)
 {
     try
     {
         if (!this.disposed && disposing && this.iterator != null)
         {
             this.iterator = null;
         }
     }
     finally
     {
         this.disposed = true;
     }
 }
Exemple #3
0
 public SQLiteChangeSetEnumerator(SQLiteChangeSetIterator iterator)
 {
     this.SetIterator(iterator);
 }
Exemple #4
0
 private void SetIterator(SQLiteChangeSetIterator iterator)
 {
     this.iterator = iterator;
 }
Exemple #5
0
 protected void ResetIterator(SQLiteChangeSetIterator iterator)
 {
     this.CloseIterator();
     this.SetIterator(iterator);
 }
Exemple #6
0
 public SQLiteChangeSetMetadataItem(SQLiteChangeSetIterator iterator)
 {
     this.iterator = iterator;
 }
Exemple #7
0
 private ISQLiteChangeSetMetadataItem CreateMetadataItem(IntPtr iterator)
 {
     return(new SQLiteChangeSetMetadataItem(SQLiteChangeSetIterator.Attach(iterator)));
 }