diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-14 13:19:03 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-14 13:19:03 +0200 |
| commit | d1fa1f1a2e26469a6bbb5b82ab614079beffcb52 (patch) | |
| tree | 5823e82075a6bd9c932457f79a6269395d45fe23 /Software/Visual_Studio/Tango.Synchronization/Diff.cs | |
| parent | dd4560b79e305772debf48cc76c9ba67af61f259 (diff) | |
| download | Tango-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.cs | 20 |
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() { |
