--- trunk/libxmltv/Core/XMLTV.cs 2013/03/07 10:20:50 22 +++ trunk/libxmltv/Core/XMLTV.cs 2013/03/07 11:08:48 23 @@ -22,5 +22,12 @@ namespace libxmltv.Core XMLTV_PARSER parser = new XMLTV_PARSER(xmltv); return parser; } + + public static IXMLTV_PARSER GetParser(object xmltv) + { + IXMLTV_PARSER _xmltv; + if (!Internals.VerifyInstance<IXMLTV_PARSER>(xmltv, out _xmltv)) { return null; } + return _xmltv; + } } } |