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"); }
public IReportService Search(string[] args) { return(_handler.Search(args)); }