Debug
AnyCPU
{2B29A699-1D65-463A-8250-A2CE81D019C9}
library
Tango.Scripting.Basic
Tango.Scripting.Basic
v4.6.1
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
true
true
full
false
bin\Debug\
DEBUG;TRACE
prompt
4
pdbonly
true
bin\Release\
TRACE
prompt
4
..\..\packages\Microsoft.CodeAnalysis.Common.2.4.0\lib\netstandard1.3\Microsoft.CodeAnalysis.dll
..\..\packages\Microsoft.CodeAnalysis.CSharp.2.4.0\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll
..\..\packages\Microsoft.CodeAnalysis.CSharp.Scripting.2.4.0\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.Scripting.dll
..\..\packages\Microsoft.CodeAnalysis.Scripting.Common.2.4.0\lib\netstandard1.3\Microsoft.CodeAnalysis.Scripting.dll
..\..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll
..\..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll
..\..\packages\System.Collections.Immutable.1.3.1\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll
..\..\packages\System.Console.4.3.0\lib\net46\System.Console.dll
..\..\packages\System.Diagnostics.FileVersionInfo.4.3.0\lib\net46\System.Diagnostics.FileVersionInfo.dll
..\..\packages\System.Diagnostics.StackTrace.4.3.0\lib\net46\System.Diagnostics.StackTrace.dll
..\..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
..\..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
..\..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
..\..\packages\System.Reflection.Metadata.1.4.2\lib\portable-net45+win8\System.Reflection.Metadata.dll
..\..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net461\System.Security.Cryptography.Algorithms.dll
..\..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
..\..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
..\..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll
..\..\packages\System.Text.Encoding.CodePages.4.3.0\lib\net46\System.Text.Encoding.CodePages.dll
..\..\packages\System.Threading.Thread.4.3.0\lib\net46\System.Threading.Thread.dll
..\..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll
4.0
..\..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll
..\..\packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll
..\..\packages\System.Xml.XPath.4.3.0\lib\net46\System.Xml.XPath.dll
..\..\packages\System.Xml.XPath.XDocument.4.3.0\lib\net46\System.Xml.XPath.XDocument.dll
MSBuild:Compile
Designer
Code
True
True
Resources.resx
True
Settings.settings
True
ResXFileCodeGenerator
Resources.Designer.cs
SettingsSingleFileGenerator
Settings.Designer.cs
{a34ee0f0-649d-41c8-8489-b6f1cc6924ee}
Tango.Core
{5812E1C6-ABAA-4066-94AC-971C27B4F46A}
Tango.Scripting.Core
ng System.Text;
using System.Threading.Tasks;
using Tango.Core.Commands;
using Tango.BL.Entities;
using Tango.MachineStudio.Common.Notifications;
using Tango.MachineStudio.MachineDesigner.AutoComplete;
using Tango.BL;
using Tango.SharedUI;
namespace Tango.MachineStudio.MachineDesigner.ViewModels
{
public class MachineVersionDialogVM : DialogViewVM
{
public ObservablesStaticCollections Adapter { get; set; }
public double Version { get; set; }
private String _versionName;
public String VersionName
{
get { return _versionName; }
set { _versionName = value; RaisePropertyChangedAuto(); }
}
private MachineVersion _selectedVersion;
public MachineVersion SelectedVersion
{
get { return _selectedVersion; }
set
{
_selectedVersion = value;
RaisePropertyChangedAuto();
VersionName = value != null ? value.Name : null;
Version = value != null ? value.Version : 0;
}
}
public RelayCommand AcceptCommand { get; set; }
public RelayCommand CancelCommand { get; set; }
public MachineVersionDialogVM()
{
Adapter = ObservablesStaticCollections.Instance;
AcceptCommand = new RelayCommand(() =>
{
Accept();
});
CancelCommand = new RelayCommand(Cancel);
}
}
}