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

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

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

revision 76 by william, Sat Mar 9 11:23:09 2013 UTC revision 77 by william, Sat Mar 9 11:28:41 2013 UTC
# Line 55  namespace libxmltv.Core Line 55  namespace libxmltv.Core
55                      found_field = true;                      found_field = true;
56                      try                      try
57                      {                      {
58                          xmltv_logger.Verbose.Debug.WriteLine("Updating instance with program information: {0}", this.ToString());                          
59                          var list = (List<IXMLTVProgram>)field.GetValue(this.GetInstance());                          var list = (List<IXMLTVProgram>)field.GetValue(this.GetInstance());
60                          this.Id = list.Count + 1;                          this.Id = list.Count + 1;
61                          list.Add(this);                          list.Add(this);
62                            xmltv_logger.Verbose.Debug.WriteLine("Updating instance with program information: {0}", this.ToString());
63                          field.SetValue(this.GetInstance(), list);                          field.SetValue(this.GetInstance(), list);
64                          break;                          break;
65                      }                      }

Legend:
Removed from v.76  
changed lines
  Added in v.77

  ViewVC Help
Powered by ViewVC 1.1.22