Esempio n. 1
0
 public ModelFilterService(ModelFilterValues filter, Dictionary <string, ColumnHeaderWrapper <T> > headers, Func <T, DateTime> dateTimeFilterGetter)
 {
     _filter          = filter;
     _headers         = headers;
     DateColumnGetter = dateTimeFilterGetter;
     if (headers == null)
     {
         throw new Exception("The headers collection in filters cant be null");
     }
 }