/[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/13 13:45:05	128
+++ trunk/libxmltv/Core/XMLTV.cs	2013/03/13 14:39:08	130
@@ -144,13 +144,13 @@
         public static void CreateFilterFromDataSource(ref object source, params string[] args)
         {
             if (source == null) { throw new ArgumentNullException("source", "cannot be null"); }
-           object t = ConvertSourceType(source.GetType(), source);
-           if (t == null) { throw new ArgumentException("source_type", string.Format("Cannot cast: '{0}' to '{1}'", source.GetType().Name, source.GetType().Name)); }
+            object t = ConvertSourceType(source.GetType(), source);
+            if (t == null) { throw new ArgumentException("source_type", string.Format("Cannot cast: '{0}' to '{1}'", source.GetType().Name, source.GetType().Name)); }
             if (args == null) { throw new ArgumentNullException("args", "cannot be null"); }
             source = t;
             IDataSourceFilterable filter = (source as IDataSourceFilterable);
             if (filter == null) { throw new InvalidCastException(string.Format("Cannot cast: '{0}' to '{1}'", source.GetType().Name, typeof(IDataSourceFilterable).Name)); }
-            filter.Filter(ref source,args);            
+            filter.Filter(ref source, args);            
         }
         public static void CreateSorterFromDataSource(ref object source, params string[] args)
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22