1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using libxmltv.Interfaces; |
6 |
|
7 |
namespace libxmltv.Core |
8 |
{ |
9 |
public class PropertyList : PropertyList<string, object>, IPropertyList { } |
10 |
public class PropertyList<TKey, TValue> : IPropertyList<PropertyValuePair<TKey, TValue>> |
11 |
{ |
12 |
private List<List<PropertyValuePair<TKey, TValue>>> properties; |
13 |
|
14 |
public PropertyList() { properties = new List<List<PropertyValuePair<TKey, TValue>>>(); } |
15 |
public PropertyList(IEnumerable<List<PropertyValuePair<TKey, TValue>>> collection) { properties = new List<List<PropertyValuePair<TKey, TValue>>>(collection); } |
16 |
public PropertyList(int capacity) { properties = new List<List<PropertyValuePair<TKey, TValue>>>(); } |
17 |
|
18 |
|
19 |
public PropertyValuePair<TKey, TValue> this[int index] |
20 |
{ |
21 |
get |
22 |
{ |
23 |
throw new NotImplementedException(); |
24 |
} |
25 |
set |
26 |
{ |
27 |
throw new NotImplementedException(); |
28 |
} |
29 |
} |
30 |
|
31 |
public int IndexOfProperty(PropertyValuePair<TKey, TValue> item) |
32 |
{ |
33 |
throw new NotImplementedException(); |
34 |
} |
35 |
|
36 |
public void InsertPropertyAtIndex(int index, PropertyValuePair<TKey, TValue> item) |
37 |
{ |
38 |
throw new NotImplementedException(); |
39 |
} |
40 |
|
41 |
public void RemovePropertyAt(int index) |
42 |
{ |
43 |
throw new NotImplementedException(); |
44 |
} |
45 |
|
46 |
public int PropertyCount |
47 |
{ |
48 |
get { throw new NotImplementedException(); } |
49 |
} |
50 |
|
51 |
public bool IsReadOnly |
52 |
{ |
53 |
get { throw new NotImplementedException(); } |
54 |
} |
55 |
|
56 |
public void AddProperty(PropertyValuePair<TKey, TValue> item) |
57 |
{ |
58 |
throw new NotImplementedException(); |
59 |
} |
60 |
|
61 |
public void ClearProperties() |
62 |
{ |
63 |
throw new NotImplementedException(); |
64 |
} |
65 |
|
66 |
public bool ContainsProperty(PropertyValuePair<TKey, TValue> item) |
67 |
{ |
68 |
throw new NotImplementedException(); |
69 |
} |
70 |
|
71 |
public void CopyPropertiesTo(PropertyValuePair<TKey, TValue>[] array, int arrayIndex) |
72 |
{ |
73 |
throw new NotImplementedException(); |
74 |
} |
75 |
|
76 |
public bool RemoveProperty(PropertyValuePair<TKey, TValue> item) |
77 |
{ |
78 |
throw new NotImplementedException(); |
79 |
} |
80 |
|
81 |
public IEnumerator<PropertyValuePair<TKey, TValue>> GetEnumerator() |
82 |
{ |
83 |
throw new NotImplementedException(); |
84 |
} |
85 |
|
86 |
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() |
87 |
{ |
88 |
throw new NotImplementedException(); |
89 |
} |
90 |
|
91 |
IEnumerator<List<PropertyValuePair<TKey, TValue>>> IEnumerable<List<PropertyValuePair<TKey, TValue>>>.GetEnumerator() |
92 |
{ |
93 |
throw new NotImplementedException(); |
94 |
} |
95 |
} |
96 |
} |