Documentation text should end with a period |
public OrchardCoreBuilder Configure(Func<IApplicationBuilder, IEndpointRouteBuilder, IServiceProvider, ValueTask> configureAsync, int order = 0)
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using OrchardCore.Environment.Shell.Builders;
using OrchardCore.Environment.Shell.Descriptor.Models;
using OrchardCore.Modules;
namespace Microsoft.Extensions.DependencyInjection
{
public class OrchardCoreBuilder
{
private Dictionary<int, StartupActions> _actions { get; } = new Dictionary<int, StartupActions>();
public OrchardCoreBuilder(IServiceCollection services)
{
ApplicationServices = services;
xxxxxxxxxx
public OrchardCoreBuilder Configure(Action<IApplicationBuilder, IEndpointRouteBuilder, IServiceProvider> configure, int order = 0)
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using OrchardCore.Environment.Shell.Descriptor.Models;
using OrchardCore.Modules;
namespace Microsoft.Extensions.DependencyInjection
{
public class OrchardCoreBuilder
{
private Dictionary<int, StartupActions> _actions { get; } = new Dictionary<int, StartupActions>();
public OrchardCoreBuilder(IServiceCollection services)
{
ApplicationServices = services;
}
public IServiceCollection ApplicationServices { get; }
public OrchardCoreBuilder RegisterStartup<T>() where T : class, IStartup
{
ApplicationServices.AddTransient<IStartup, T>();
return this;
}
/// <summary>
/// This method gets called for each tenant. Use this method to add services to the container.
/// For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940