aspnetcore/test/Microsoft.AspNet.Mvc.TestCo.../TestOptionsManager.cs

18 lines
483 B
C#

// 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.Linq;
using Microsoft.Extensions.OptionsModel;
namespace Microsoft.AspNet.Mvc
{
public class TestOptionsManager<T> : OptionsManager<T>
where T : class, new()
{
public TestOptionsManager()
: base(Enumerable.Empty<IConfigureOptions<T>>())
{
}
}
}