aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/Diff.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-01-14 13:19:03 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-01-14 13:19:03 +0200
commitd1fa1f1a2e26469a6bbb5b82ab614079beffcb52 (patch)
tree5823e82075a6bd9c932457f79a6269395d45fe23 /Software/Visual_Studio/Tango.Synchronization/Diff.cs
parentdd4560b79e305772debf48cc76c9ba67af61f259 (diff)
downloadTango-d1fa1f1a2e26469a6bbb5b82ab614079beffcb52.tar.gz
Tango-d1fa1f1a2e26469a6bbb5b82ab614079beffcb52.zip
Added code comments for:
Synchronization.
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization/Diff.cs')
-rw-r--r--Software/Visual_Studio/Tango.Synchronization/Diff.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/Software/Visual_Studio/Tango.Synchronization/Diff.cs b/Software/Visual_Studio/Tango.Synchronization/Diff.cs
index 45bd1581c..1ae3541e8 100644
--- a/Software/Visual_Studio/Tango.Synchronization/Diff.cs
+++ b/Software/Visual_Studio/Tango.Synchronization/Diff.cs
@@ -7,14 +7,14 @@ using System.Threading.Tasks;
namespace Tango.Synchronization
{
/// <summary>
- /// Represents an <see cref="LocalDBComparer.Compare"/> result.
+ /// Represents an <see cref="IDBComparer.Compare"/> result.
/// </summary>
public class Diff
{
private Action _action;
/// <summary>
- /// Gets the difference action.
+ /// Gets the action which will be taken in order to commit this difference.
/// </summary>
public DiffAction Action { get; private set; }
@@ -24,27 +24,27 @@ namespace Tango.Synchronization
public String Description { get; private set; }
/// <summary>
- /// Gets the <see cref="Commit"/> command.
+ /// Gets the <see cref="Commit"/> SQL command.
/// </summary>
public String Command { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="Diff"/> class.
/// </summary>
- /// <param name="dataBaseAction">The data base action.</param>
- /// <param name="description">The description.</param>
- /// <param name="action">The action.</param>
- /// <param name="command">The command.</param>
- public Diff(DiffAction dataBaseAction, String description, Action action, String command)
+ /// <param name="diffAction">The difference action type.</param>
+ /// <param name="description">The action description.</param>
+ /// <param name="action">The action delegate.</param>
+ /// <param name="command">The SQL command.</param>
+ public Diff(DiffAction diffAction, String description, Action action, String command)
{
- Action = dataBaseAction;
+ Action = diffAction;
Description = description;
_action = action;
Command = command;
}
/// <summary>
- /// Commits the difference to the target DB.
+ /// Commits this difference to the target DB.
/// </summary>
public void Commit()
{