Esempio n. 1
0
        public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            try
            {
                return(_methods.ConfigureServicesDelegate(services));
            }
            catch (Exception ex)
            {
                if (ex is TargetInvocationException)
                {
                    ExceptionDispatchInfo.Capture(ex.InnerException !).Throw();
                }

                throw;
            }
        }
 public IServiceProvider ConfigureServices(IServiceCollection services)
 {
     return(_methods.ConfigureServicesDelegate(services));
 }