예제 #1
0
 /// <summary>
 /// Create a new object for comparing two snapshots.
 /// </summary>
 public SnapshotCompare(Snapshot snapshotA, Snapshot snapshotB)
 {
     SnapshotA = snapshotA;
     SnapshotB = snapshotB;
     ResultUpdates = new Dictionary<string, FileObject>();
     ResultNew = new Dictionary<string, FileStatusInformation>();
 }
예제 #2
0
		// Options go here

		/// <summary>
		/// Create a new object for comparing a folder snapshot against a folder.
		/// </summary>
		/// <param name="left">Old path</param>
		/// <param name="right">New path</param>
		public FolderCompare(Snapshot snapshot, string folder)
		{
			BaseSnapshot = snapshot;
			Folder = folder;
			ResultUpdates = new Dictionary<string, FileObject>();
			ResultNew = new Dictionary<string, FileStatusInformation>();
		}