/[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 110 by william, Sun Mar 10 14:28:57 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>      public class PropertyCollection<T> : IPropertyCollection<T>
15      {      {
16          private List<T> items = new List<T>();          private List<T> items = 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        [Serializable]
48      public class PropertyDictionary : PropertyDictionary<string, object>, IPropertyDictionary      public class PropertyDictionary : PropertyDictionary<string, object>, IPropertyDictionary
49      {      {
50          public PropertyDictionary() : base() { }          public PropertyDictionary() : base() { }
# 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        [Serializable]
59      public class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue>      public class PropertyDictionary<TKey, TValue> : IPropertyDictionary<TKey, TValue>
60      {      {
61          [StructLayout(LayoutKind.Sequential)]          [StructLayout(LayoutKind.Sequential)]

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

  ViewVC Help
Powered by ViewVC 1.1.22