// 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.Collections.Generic;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApiExplorer
{
///
/// A context object for providers.
///
public class ApiDescriptionProviderContext
{
///
/// Creates a new instance of .
///
/// The list of actions.
public ApiDescriptionProviderContext([NotNull] IReadOnlyList actions)
{
Actions = actions;
Results = new List();
}
///
/// The list of actions.
///
public IReadOnlyList Actions { get; private set; }
///
/// The list of resulting .
///
public IList Results { get; private set; }
}
}