aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Diagnostics/Project/ISupportsComponentSelection.cs
blob: 41ddd6a3a7cb090056e01b168bbfc3cc7a2f4927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FSE.Diagnostics.Project
{
    public interface ISupportsComponentSelection
    {
        bool EnableComponentSelection { get; set; }
    }

    public interface ISupportsComponentSelection<T> : ISupportsComponentSelection
    {
        [JsonIgnore]
        List<DiagnosticsWidgetComponent<T>> Components { get; }

        [JsonIgnore]
        T SelectedComponent { get; set; }
    }
}