WingMan – Diff between revs 10 and 14
?pathlinks?
Rev 10 | Rev 14 | |||
---|---|---|---|---|
1 | using System.Collections.Generic; |
1 | using System.Collections.ObjectModel; |
|
2 | using System.Xml.Serialization; |
2 | using System.Xml.Serialization; |
|
3 | |
3 | |
|
4 | namespace WingMan.MouseKey |
4 | namespace WingMan.Bindings |
|
5 | { |
5 | { |
|
6 | public class RemoteKeyBindings |
6 | public class RemoteKeyBindings |
|
7 | { |
7 | { |
|
8 | [XmlIgnore] public static readonly XmlSerializer XmlSerializer = |
8 | [XmlIgnore] public static readonly XmlSerializer XmlSerializer = |
|
9 | new XmlSerializer(typeof(RemoteKeyBindings)); |
9 | new XmlSerializer(typeof(RemoteKeyBindings)); |
|
10 | |
10 | |
|
11 | public RemoteKeyBindings() |
11 | public RemoteKeyBindings() |
|
12 | { |
12 | { |
|
13 | } |
13 | } |
|
14 | |
14 | |
|
15 | public RemoteKeyBindings(List<RemoteKeyBinding> bindings) |
15 | public RemoteKeyBindings(ObservableCollection<RemoteKeyBinding> bindings) |
|
16 | { |
16 | { |
|
17 | Bindings = bindings; |
17 | Bindings = bindings; |
|
18 | } |
18 | } |
|
19 | |
19 | |
|
20 | public List<RemoteKeyBinding> Bindings { get; set; } |
20 | public ObservableCollection<RemoteKeyBinding> Bindings { get; set; } |
|
21 | } |
21 | } |
|
22 | } |
22 | } |
|
23 | |
23 | |