-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocalStorage.cs
More file actions
47 lines (44 loc) · 1.99 KB
/
Copy pathLocalStorage.cs
File metadata and controls
47 lines (44 loc) · 1.99 KB
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
using System.Collections.ObjectModel;
using ReferenceForDisciplines.Model;
namespace ReferenceForDisciplines
{
internal class LocalStorage
{
public LocalStorage()
{
Disciplines = new ObservableCollection<Discipline>
{
new Discipline {Name = "Структуры данных"},
new Discipline {Name = "Архитектура информационных систем"},
new Discipline {Name = "Управление данными"},
new Discipline {Name = "Дискретная математика"},
new Discipline {Name = "Математическая логика"},
new Discipline {Name = "Общая теория систем и системный анализ"},
new Discipline {Name = "Основы теории управления"}
};
References = new ObservableCollection<Reference>
{
new Reference
{
Name = "Массив",
Document = "D:\\Project\\ReferenceForDisciplines\\ReferenceForDisciplines\\Content\\Массив.xps",
Disciplines = Disciplines[0].Name
},
new Reference
{
Name = "Список",
Document = "D:\\Project\\ReferenceForDisciplines\\ReferenceForDisciplines\\Content\\Список.xps",
Disciplines = Disciplines[0].Name
},
new Reference
{
Name = "В-дерево",
Document = "D:\\Project\\ReferenceForDisciplines\\ReferenceForDisciplines\\Content\\Массив.xps",
Disciplines = Disciplines[0].Name
}
};
}
public ObservableCollection<Discipline> Disciplines { get; set; }
public ObservableCollection<Reference> References { get; set; }
}
}