// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Hosting.Internal { public class StartupMethods { public StartupMethods(Action configure, Func configureServices) { Debug.Assert(configure != null); Debug.Assert(configureServices != null); ConfigureDelegate = configure; ConfigureServicesDelegate = configureServices; } public Func ConfigureServicesDelegate { get; } public Action ConfigureDelegate { get; } } }