19 lines
499 B
C#
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;
|
|
}
|
|
}
|
|
}
|