11 |
namespace libxmltv.Core |
namespace libxmltv.Core |
12 |
{ |
{ |
13 |
[Serializable] |
[Serializable] |
14 |
public class PropertyCollection<T> : IPropertyCollection<T> |
internal class PropertyCollection<T> : IPropertyCollection<T> |
15 |
{ |
{ |
16 |
private List<T> items = new List<T>(); |
private List<T> items = new List<T>(); |
17 |
public PropertyCollection() : this(new List<T>()) { } |
public PropertyCollection() : this(new List<T>()) { } |
45 |
} |
} |
46 |
} |
} |
47 |
[Serializable] |
[Serializable] |
48 |
public class PropertyDictionary : PropertyDictionary<string, object>, IPropertyDictionary |
internal class PropertyDictionary : PropertyDictionary<string, object>, IPropertyDictionary |
49 |
{ |
{ |
50 |
public PropertyDictionary() : base() { } |
public PropertyDictionary() : base() { } |
51 |
public PropertyDictionary(IPropertyDictionary dictionary) : base(dictionary) { } |
public PropertyDictionary(IPropertyDictionary dictionary) : base(dictionary) { } |
56 |
protected PropertyDictionary(SerializationInfo info, StreamingContext context) : base(info, context) { } |
protected PropertyDictionary(SerializationInfo info, StreamingContext context) : base(info, context) { } |
57 |
} |
} |
58 |
[Serializable] |
[Serializable] |
59 |
public class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue> |
internal class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue> |
60 |
{ |
{ |
61 |
[StructLayout(LayoutKind.Sequential)] |
[StructLayout(LayoutKind.Sequential)] |
62 |
private struct Entry |
private struct Entry |