aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/IParameterized.cs
blob: d8e3982bb16aa8579703a7b2518e5cd259cd7f0c (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 LiteDB;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.Core
{
    /// <summary>
    /// Represents a component that exposes some of it's properties as an observable collection of <see cref="ParameterItem"/> which can be bound to UI controls.
    /// </summary>
    public interface IParameterized
    {
        /// <summary>
        /// Gets a bind-able observable collection of the component properties.
        /// </summary>
        [ParameterIgnore]
        [XmlIgnore]
        [BsonIgnore]
        ReadOnlyObservableCollection<ParameterItem> Parameters { get; }
    }
}