aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-15 13:45:37 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-15 13:45:37 +0300
commit719749fc4475cecc2986df9484be63720bacf6b9 (patch)
treee6bd1e82a67ba5a9dd08b141cc73b68214fb6dd6 /Software/Visual_Studio/Tango.Core/ExtendedObject.cs
parent9dab94b61087d870dd549cd652c5b9380e5e994c (diff)
downloadTango-719749fc4475cecc2986df9484be63720bacf6b9.tar.gz
Tango-719749fc4475cecc2986df9484be63720bacf6b9.zip
Diagnostics
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/ExtendedObject.cs')
-rw-r--r--Software/Visual_Studio/Tango.Core/ExtendedObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
index 63a75480c..f09a82ae9 100644
--- a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
+++ b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
@@ -82,7 +82,7 @@ namespace Tango.Core
{
InvokeUI(() =>
{
- foreach (var prop in this.GetType().GetProperties().Where(x => x.PropertyType == typeof(RelayCommand)))
+ foreach (var prop in this.GetType().GetProperties().Where(x => typeof(RelayCommand).IsAssignableFrom(x.PropertyType)))
{
var value = prop.GetValue(this) as RelayCommand;