aspnetcore/test/Microsoft.AspNetCore.Hostin.../Fakes/StartupWithScopedServices.cs

19 lines
499 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Builder;
using static Microsoft.AspNetCore.Hosting.Tests.StartupManagerTests;
namespace Microsoft.AspNetCore.Hosting.Fakes
{
public class StartupWithScopedServices
{
public DisposableService DisposableService { get; set; }
public void Configure(IApplicationBuilder builder, DisposableService disposable)
{
DisposableService = disposable;
}
}
}