diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-18 15:52:25 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-18 15:52:25 +0200 |
| commit | 41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf (patch) | |
| tree | f6c535ae38fcf71842f0af4622c806044224974d /Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs | |
| parent | 615bc666c8d0618d93bc4401a74928535c2cc7f6 (diff) | |
| download | Tango-41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf.tar.gz Tango-41b950b3f3f7fa0384cccd13ed4ef38119bbcbcf.zip | |
Fixed ContinueThreadLoadingResponse.
Refactored ActionLog Difference data structure to node tree.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs b/Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs index f587147e1..cb49f3769 100644 --- a/Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs +++ b/Software/Visual_Studio/Tango.BL/ObservableEntityDTO.cs @@ -210,12 +210,12 @@ namespace Tango.BL return EqualsToObservable(observable); } - public Task<List<ActionLogDifference>> CompareTo(DTO before) + public Task<ActionLogDifference> CompareTo(DTO before) { return new BasicActionLogComparer().Compare(before, this); } - Task<List<ActionLogDifference>> IActionLogComparable.CompareTo(IActionLogComparable before) + Task<ActionLogDifference> IActionLogComparable.CompareTo(IActionLogComparable before) { return CompareTo(before as DTO); } @@ -229,5 +229,15 @@ namespace Tango.BL { return false; } + + string IActionLogComparable.GetActionName() + { + return OnGetActionLogName(); + } + + protected virtual String OnGetActionLogName() + { + return this.GetType().Name; + } } } |
