blob: e2c34dac34a9baea8f7880fa77c80298c6f32cb2 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Tango.Editors;
namespace Tango.Editors
{
/// <summary>
/// <para><img class="classImage" src="../Media/Configuration.png" /></para>
/// Represents an <see cref="ElementsEditorConfiguration"/> configuration which can be saved or load from a file or stream.
/// </summary>
/// <seealso cref="IConfiguration" />
[Serializable]
public class ElementsEditorConfiguration : IConfiguration
{
/// <summary>
/// Initializes a new instance of the <see cref="ElementsEditorConfiguration"/> class.
/// </summary>
public ElementsEditorConfiguration()
{
Date = DateTime.Now;
ElementsConfigurations = new ObservableCollection<ElementEditorConfiguration>();
ConfigurableType = typeof(ElementsEditor);
}
/// <summary>
/// Gets or sets the configuration name.
/// </summary>
public String Name { get; set; }
/// <summary>
/// Gets or sets the configuration creation date.
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the elements configurations.
/// </summary>
public ObservableCollection<ElementEditorConfiguration> ElementsConfigurations { get; set; }
/// <summary>
/// Gets or sets the configurable type.
/// </summary>
public Type ConfigurableType { get; set; }
}
}
|