aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/AboutViewVM.cs
blob: 0b8a205f7d75fbdcf23a25ff08649c9069f5154b (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;
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 AboutViewVM(IStudioApplicationManager applicationManager)
        {
            ApplicationManager = applicationManager;
            Settings = SettingsManager.Default.GetOrCreate<CoreSettings>();
        }
    }
}
span class="w"> get; set; } /// <summary> /// Gets the priority. This property is used in the selection logic. You can use it to prefer selecting those items /// which the user is accessing most frequently. /// </summary> double Priority { get; set; } /// <summary> /// Perform the completion. /// </summary> /// <param name="textArea">The text area on which completion is performed.</param> /// <param name="completionSegment">The text segment that was used by the completion window if /// the user types (segment between CompletionWindow.StartOffset and CompletionWindow.EndOffset).</param> /// <param name="insertionRequestEventArgs">The EventArgs used for the insertion request. /// These can be TextCompositionEventArgs, KeyEventArgs, MouseEventArgs, depending on how /// the insertion was triggered.</param> void Complete(ScriptEditor editor); } }