blob: 94db259b0004c489d52370eebf48429131a5ddf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.ValueObjects;
namespace Tango.BL.ActionLogs
{
/// <summary>
/// Represents an <see cref="IActionLogComparable"/> comparer.
/// </summary>
public interface IActionLogComparer
{
/// <summary>
/// Compares the specified object before and after changes and returns the difference tree.
/// </summary>
/// <param name="before">The object before the change.</param>
/// <param name="after">The object after the change.</param>
/// <returns></returns>
Task<ActionLogDifference> Compare(IActionLogComparable before, IActionLogComparable after);
}
}
|