Beispiel #1
0
        public IReportService Search(string[] args)
        {
            var fileName = args[0];

            if (Accept(fileName))
            {
                return(GetService(args));
            }
            if (_nextHandler != null)
            {
                return(_nextHandler.Search(args));
            }
            throw new NotSupportedException("this extension not supported");
        }
Beispiel #2
0
 public IReportService Search(string[] args)
 {
     return(_handler.Search(args));
 }