aspnetcore/test/Microsoft.AspNet.Hosting.Tests/Fakes/FakeStartupWithServices.cs

19 lines
506 B
C#

using Microsoft.AspNet.Abstractions;
namespace Microsoft.AspNet.Hosting.Tests.Fakes
{
public class FakeStartupWithServices
{
private readonly IFakeStartupCallback _fakeStartupCallback;
public FakeStartupWithServices(IFakeStartupCallback fakeStartupCallback)
{
_fakeStartupCallback = fakeStartupCallback;
}
public void Configuration(IBuilder builder)
{
_fakeStartupCallback.ConfigurationMethodCalled(this);
}
}
}