aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-18 19:55:31 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-18 19:55:31 +0200
commit68916b0c7e3322ff1ca8b45ed789973a23ccac51 (patch)
tree555a459bc5e84c68c6af94c6752e8cf4dc07b36a /Software/Visual_Studio/Tango.BL/ObservableEntity.cs
parentd1fb9cce1c7f31ca23da55f27701ab668958b9c6 (diff)
downloadTango-68916b0c7e3322ff1ca8b45ed789973a23ccac51.tar.gz
Tango-68916b0c7e3322ff1ca8b45ed789973a23ccac51.zip
Improved architecture of ActionLogs.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservableEntity.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservableEntity.cs26
1 files changed, 1 insertions, 25 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
index 211450614..e3bba77bd 100644
--- a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
@@ -52,7 +52,7 @@ namespace Tango.BL
/// <seealso cref="Tango.Core.ExtendedObject" />
/// <seealso cref="Tango.BL.Entities.IObservableEntity" />
[Serializable]
- public abstract class ObservableEntity<T> : ExtendedObject, IObservableEntity, IActionLogComparable<T> where T : class, IObservableEntity
+ public abstract class ObservableEntity<T> : ExtendedObject, IObservableEntity, IActionLogComparable where T : class, IObservableEntity
{
#region Events
@@ -664,30 +664,6 @@ namespace Tango.BL
#region Action Log
/// <summary>
- /// Compares this instance to another ActionLog <see cref="!:T" /> comparable instance.
- /// </summary>
- /// <param name="before">The before.</param>
- /// <returns>
- /// A tree of differences.
- /// </returns>
- public Task<ActionLogDifference> CompareTo(T before)
- {
- return new BasicActionLogComparer().Compare(before as IActionLogComparable, this);
- }
-
- /// <summary>
- /// Compares this instance to another ActionLog comparable instance.
- /// </summary>
- /// <param name="before">The before.</param>
- /// <returns>
- /// A tree of differences.
- /// </returns>
- Task<ActionLogDifference> IActionLogComparable.CompareTo(IActionLogComparable before)
- {
- return CompareTo(before as T);
- }
-
- /// <summary>
/// Returns true if the specified property should be ignored during ActionLog comparison.
/// </summary>
/// <param name="propName">Name of the property.</param>