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 15:52:25 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-18 15:52:25 +0200
commit41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf (patch)
treef6c535ae38fcf71842f0af4622c806044224974d /Software/Visual_Studio/Tango.BL/ObservableEntity.cs
parent615bc666c8d0618d93bc4401a74928535c2cc7f6 (diff)
downloadTango-41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf.tar.gz
Tango-41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf.zip
Fixed ContinueThreadLoadingResponse.
Refactored ActionLog Difference data structure to node tree.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservableEntity.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservableEntity.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
index 11aca0e99..36e1a4ef8 100644
--- a/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservableEntity.cs
@@ -663,12 +663,12 @@ namespace Tango.BL
#region Action Log
- public Task<List<ActionLogDifference>> CompareTo(T before)
+ public Task<ActionLogDifference> CompareTo(T before)
{
return new BasicActionLogComparer().Compare(before as IActionLogComparable, this);
}
- Task<List<ActionLogDifference>> IActionLogComparable.CompareTo(IActionLogComparable before)
+ Task<ActionLogDifference> IActionLogComparable.CompareTo(IActionLogComparable before)
{
return CompareTo(before as T);
}
@@ -683,6 +683,16 @@ namespace Tango.BL
return false;
}
+ string IActionLogComparable.GetActionName()
+ {
+ return OnGetActionLogName();
+ }
+
+ protected virtual String OnGetActionLogName()
+ {
+ return this.GetType().Name;
+ }
+
#endregion
}
}