23 lines
631 B
C#
23 lines
631 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;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Microsoft.AspNet.Mvc.Internal
|
|
{
|
|
public class MvcCoreBuilder : IMvcCoreBuilder
|
|
{
|
|
public MvcCoreBuilder(IServiceCollection services)
|
|
{
|
|
if (services == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(services));
|
|
}
|
|
|
|
Services = services;
|
|
}
|
|
|
|
public IServiceCollection Services { get; }
|
|
}
|
|
} |