aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/IDBComparer.cs
blob: 3d0ffc6e0b00ce0e5d7e82354658ca3e4b381eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Synchronization
{
    /// <summary>
    /// Represents a database comparison engine.
    /// </summary>
    /// <seealso cref="System.IDisposable" />
    public interface IDBComparer : IDisposable
    {
        /// <summary>
        /// Used to notify about the comparer progress using text messages.
        /// </summary>
        event EventHandler<String> Progress;

        /// <summary>
        /// Performs a database comparison and returns a set of differences.
        /// </summary>
        /// <returns></returns>
        List<Diff> Compare();
    }
}