Parent Directory
|
Revision Log
|
Patch
--- trunk/libxmltv/Core/XMLTVChannel.cs 2013/03/09 11:17:13 75 +++ trunk/libxmltv/Core/XMLTVChannel.cs 2013/03/09 11:28:41 77 @@ -48,12 +48,10 @@ { found_field = true; try - { - xmltv_logger.Verbose.Debug.WriteLine("Updating instance with channel information: {0}", this.ToString()); - //field.SetValue(this.GetInstance(), new List<IXMLTVChannel>() { this }); - + { var list = (List<IXMLTVChannel>)field.GetValue(this.GetInstance()); list.Add(this); + xmltv_logger.Verbose.Debug.WriteLine("Updating instance with channel information: {0}", this.ToString()); field.SetValue(this.GetInstance(), list); break; }
ViewVC Help | |
Powered by ViewVC 1.1.22 |