aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-19 18:09:36 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-19 18:09:36 +0200
commit240fc978fb3327ff7e5bc0c7a06e1b8cc8de4aca (patch)
tree3774c50f3818564633685c0d8c5f1f767cd18f92 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels
parenta794a5d088b425d7b41f87d7c3a43b904249e11e (diff)
downloadTango-240fc978fb3327ff7e5bc0c7a06e1b8cc8de4aca.tar.gz
Tango-240fc978fb3327ff7e5bc0c7a06e1b8cc8de4aca.zip
Working Developer Module...
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/DBViewContextWrapper.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/DBViewContextWrapper.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/DBViewContextWrapper.cs
deleted file mode 100644
index 21611a493..000000000
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/DBViewContextWrapper.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Tango.Integration.Observables;
-
-namespace Tango.MachineStudio.Developer.ViewModels
-{
- public class DBViewContextWrapper<T> where T : class, IObservableEntity
- {
- public T EditEntity { get; set; }
-
- public ObservablesEntitiesAdapter Adapter { get; set; }
-
- public DBViewContextWrapper()
- {
- Adapter = ObservablesEntitiesAdapter.Instance;
- }
-
- public DBViewContextWrapper(T entity) : this()
- {
- EditEntity = entity;
- }
-
- public static implicit operator DBViewContextWrapper<T>(T entity)
- {
- return new DBViewContextWrapper<T>(entity);
- }
-
- public static implicit operator T(DBViewContextWrapper<T> instance)
- {
- return instance.EditEntity;
- }
- }
-}