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

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

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

revision 74 by william, Sat Mar 9 11:06:39 2013 UTC revision 77 by william, Sat Mar 9 11:28:41 2013 UTC
# Line 48  namespace libxmltv.Core Line 48  namespace libxmltv.Core
48              var fields = instance_type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);              var fields = instance_type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
49              foreach (var field in fields)              foreach (var field in fields)
50              {              {
51                  if (field.FieldType == typeof(List<IXMLTVSource>))                  if (field.FieldType == typeof(IXMLTVSource))
52                  {                  {
53                      found_field = true;                      found_field = true;
54                      try                      try
55                      {                      {
56                          xmltv_logger.Verbose.Debug.WriteLine("Updating instance with source information: {0}", this.ToString());                          xmltv_logger.Verbose.Debug.WriteLine("Updating instance with source information: {0}", this.ToString());
57                          field.SetValue(this.GetInstance(), new List<IXMLTVSource>() { this });                                                  field.SetValue(this.GetInstance(), this);                        
58                          break;                          break;
59                      }                      }
60                      catch (Exception ex)                      catch (Exception ex)

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

  ViewVC Help
Powered by ViewVC 1.1.22