public virtual IReportService GetReportService(string[] args) { if (!args[0].EndsWith($"{Ext}")) { return(nextHandler.GetReportService(args)); } throw new NotSupportedException("this extension not supported"); }
public IReportService GetReportService(string[] args) { return(_handler.GetReportService(args)); }