Startup.cs 945 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Linq;
  3. using MediaBrowser.Api;
  4. using MediaBrowser.Controller;
  5. using Microsoft.AspNetCore.Builder;
  6. using Microsoft.AspNetCore.Hosting;
  7. using Microsoft.AspNetCore.Http;
  8. using Microsoft.AspNetCore.Routing;
  9. using Microsoft.Extensions.Configuration;
  10. using Microsoft.Extensions.DependencyInjection;
  11. using Microsoft.Extensions.Logging;
  12. namespace Emby.Server.Implementations
  13. {
  14. public class Startup
  15. {
  16. public IConfiguration Configuration { get; }
  17. public Startup(IConfiguration configuration) => Configuration = configuration;
  18. // Use this method to add services to the container.
  19. public void ConfigureServices(IServiceCollection services)
  20. {
  21. services.AddRouting();
  22. }
  23. // Use this method to configure the HTTP request pipeline.
  24. public void Configure(IApplicationBuilder app)
  25. {
  26. }
  27. }
  28. }