From d1fa1f1a2e26469a6bbb5b82ab614079beffcb52 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 14 Jan 2018 13:19:03 +0200 Subject: Added code comments for: Synchronization. --- Software/Visual_Studio/Tango.Synchronization/Diff.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Software/Visual_Studio/Tango.Synchronization/Diff.cs') 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 { /// - /// Represents an result. + /// Represents an result. /// public class Diff { private Action _action; /// - /// Gets the difference action. + /// Gets the action which will be taken in order to commit this difference. /// public DiffAction Action { get; private set; } @@ -24,27 +24,27 @@ namespace Tango.Synchronization public String Description { get; private set; } /// - /// Gets the command. + /// Gets the SQL command. /// public String Command { get; private set; } /// /// Initializes a new instance of the class. /// - /// The data base action. - /// The description. - /// The action. - /// The command. - public Diff(DiffAction dataBaseAction, String description, Action action, String command) + /// The difference action type. + /// The action description. + /// The action delegate. + /// The SQL command. + public Diff(DiffAction diffAction, String description, Action action, String command) { - Action = dataBaseAction; + Action = diffAction; Description = description; _action = action; Command = command; } /// - /// Commits the difference to the target DB. + /// Commits this difference to the target DB. /// public void Commit() { -- cgit v1.3.1