/[xmltv_parser]/trunk/libxmltv/Core/PropertyDictionary.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/PropertyDictionary.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 106 by william, Sun Mar 10 12:25:54 2013 UTC revision 118 by william, Sun Mar 10 17:41:52 2013 UTC
# Line 10  using System.Reflection; Line 10  using System.Reflection;
10    
11  namespace libxmltv.Core  namespace libxmltv.Core
12  {  {
13        [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>()) { }
# Line 44  namespace libxmltv.Core Line 44  namespace libxmltv.Core
44              return string.Format("Property Count: {0}", PropertyCount);              return string.Format("Property Count: {0}", PropertyCount);
45          }          }
46      }      }
47      public class PropertyDictionary : PropertyDictionary<string, object>, IPropertyDictionary      [Serializable]
48        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) { }
# Line 54  namespace libxmltv.Core Line 55  namespace libxmltv.Core
55          public PropertyDictionary(int capacity, IEqualityComparer<string> comparer) : base(capacity, comparer) { }          public PropertyDictionary(int capacity, IEqualityComparer<string> comparer) : base(capacity, comparer) { }
56          protected PropertyDictionary(SerializationInfo info, StreamingContext context) : base(info, context) { }          protected PropertyDictionary(SerializationInfo info, StreamingContext context) : base(info, context) { }
57      }      }
58      public class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue>      [Serializable]
59        internal class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue>
60      {      {
61          [StructLayout(LayoutKind.Sequential)]          [StructLayout(LayoutKind.Sequential)]
62          private struct Entry          private struct Entry

Legend:
Removed from v.106  
changed lines
  Added in v.118

  ViewVC Help
Powered by ViewVC 1.1.22