Пример #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());
        }
Пример #2
0
 public ReportServiceBase GetReportService()
 {
     return(_handler.GetReportService());
 }