aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/AboutViewVM.cs
blob: c05ce9982ec9104fb5800dd5bc28399e59847b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL;
using Tango.Core;
using Tango.MachineStudio.Common;
using Tango.MachineStudio.Common.StudioApplication;
using Tango.Settings;
using Tango.SharedUI;

namespace Tango.MachineStudio.UI.ViewModels
{
    public class AboutViewVM : DialogViewVM
    {
        public IStudioApplicationManager ApplicationManager { get; set; }

        public CoreSettings Settings { get; set; }

        public MachineStudioSettings MachineStudioSettings { get; set; }

        public DataSource DataSource { get; set; }

        public AboutViewVM(IStudioApplicationManager applicationManager)
        {
            ApplicationManager = applicationManager;
            Settings = SettingsManager.Default.GetOrCreate<CoreSettings>();
            MachineStudioSettings = SettingsManager.Default.GetOrCreate<MachineStudioSettings>();
            DataSource = ObservablesContext.GetActualDataSource();
        }
    }
}
s="w"> static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ContinueThreadLoadingResponseReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNDb250aW51ZVRocmVhZExvYWRpbmdSZXNwb25zZS5wcm90bxIXVGFuZ28u", "UE1SLlRocmVhZExvYWRpbmciHwodQ29udGludWVUaHJlYWRMb2FkaW5nUmVz", "cG9uc2VCIwohY29tLnR3aW5lLnRhbmdvLnBtci50aHJlYWRsb2FkaW5nYgZw", "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ThreadLoading.ContinueThreadLoadingResponse), global::Tango.PMR.ThreadLoading.ContinueThreadLoadingResponse.Parser, null, null, null, null) })); } #endregion } #region Messages public sealed partial class ContinueThreadLoadingResponse : pb::IMessage<ContinueThreadLoadingResponse> { private static readonly pb::MessageParser<ContinueThreadLoadingResponse> _parser = new pb::MessageParser<ContinueThreadLoadingResponse>(() => new ContinueThreadLoadingResponse()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser<ContinueThreadLoadingResponse> Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Tango.PMR.ThreadLoading.ContinueThreadLoadingResponseReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ContinueThreadLoadingResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ContinueThreadLoadingResponse(ContinueThreadLoadingResponse other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ContinueThreadLoadingResponse Clone() { return new ContinueThreadLoadingResponse(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ContinueThreadLoadingResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ContinueThreadLoadingResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ContinueThreadLoadingResponse other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } #endregion } #endregion Designer generated code