aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-08-01 11:47:10 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-08-01 11:47:10 +0300
commit00cfb0906e164487efed62bd6a65cdf681952bd1 (patch)
treee5bc283226a0f758d63da4c05f761ce7801ac36e /Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs
parentd5c6067365e12674e95acaef4c4af45eaead8c3e (diff)
downloadTango-00cfb0906e164487efed62bd6a65cdf681952bd1.tar.gz
Tango-00cfb0906e164487efed62bd6a65cdf681952bd1.zip
Implemented reloading of color lab module and research module when machine designer changes machine !
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs b/Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs
index 2b49154b3..f42c799b4 100644
--- a/Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservableModifiedEventArgs.cs
@@ -28,6 +28,14 @@ namespace Tango.BL
public IObservableEntity NotifiedEntity { get; set; }
/// <summary>
+ /// Gets a value indicating whether the modified entity is not the notified entity.
+ /// </summary>
+ public bool IsOtherContext
+ {
+ get { return ModifiedEntity != NotifiedEntity; }
+ }
+
+ /// <summary>
/// Initializes a new instance of the <see cref="ObservableModifiedEventArgs"/> class.
/// </summary>
/// <param name="context">The context.</param>