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

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

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

--- 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 @@
             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;
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22