Exemplo n.º 1
0
        public ReportServiceBase GetReportService()
        {
            var filename = args[0];

            if (filename.EndsWith(FileEnds))
            {
                return(ReportService);
            }

            if (_nextHandler == null)
            {
                throw new NotSupportedException("this extension not supported");
            }

            return(_nextHandler.GetReportService());
        }
Exemplo n.º 2
0
 public ReportServiceBase GetReportService()
 {
     return(_handler.GetReportService());
 }