using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Nop.Core.Infrastructure; /// /// Represents object for the configuring services and middleware on application startup /// public partial interface INopStartup { /// /// Add and configure any of the middleware /// /// Collection of service descriptors /// Configuration of the application void ConfigureServices(IServiceCollection services, IConfiguration configuration); /// /// Configure the using of added middleware /// /// Builder for configuring an application's request pipeline void Configure(IApplicationBuilder application); /// /// Gets order of this startup configuration implementation /// int Order { get; } }