aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
committerMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
commit00a491d93733d4625ad329b2ba8237f445364b3f (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Core/ExtendedObject.cs
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
downloadTango-00a491d9.tar.gz
Tango-00a491d9.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/ExtendedObject.cs')
-rw-r--r--Software/Visual_Studio/Tango.Core/ExtendedObject.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
index f09a82ae9..acead4157 100644
--- a/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
+++ b/Software/Visual_Studio/Tango.Core/ExtendedObject.cs
@@ -1,5 +1,4 @@
-using LiteDB;
-using Newtonsoft.Json;
+using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -34,7 +33,6 @@ namespace Tango.Core
/// </summary>
[JsonIgnore]
[NotMapped]
- [BsonIgnore]
public LogManager LogManager
{
get { return LogManager.Default; }
@@ -45,7 +43,6 @@ namespace Tango.Core
/// </summary>
[JsonIgnore]
[NotMapped]
- [BsonIgnore]
public TemporaryManager TemporaryManager
{
get { return TemporaryManager.Default; }
@@ -82,7 +79,7 @@ namespace Tango.Core
{
InvokeUI(() =>
{
- foreach (var prop in this.GetType().GetProperties().Where(x => typeof(RelayCommand).IsAssignableFrom(x.PropertyType)))
+ foreach (var prop in this.GetType().GetProperties().Where(x => x.PropertyType == typeof(RelayCommand)))
{
var value = prop.GetValue(this) as RelayCommand;
@@ -101,7 +98,6 @@ namespace Tango.Core
/// </summary>
[NotMapped]
[JsonIgnore]
- [BsonIgnore]
public bool DesignMode
{
get { return (DesignerProperties.GetIsInDesignMode(new DependencyObject())); }