File: def\IFrameworkCompatibilityListProvider.cs
Web Access
Project: src\src\nuget-client\src\NuGet.Core\NuGet.Frameworks\NuGet.Frameworks.csproj (NuGet.Frameworks)
// 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;

namespace NuGet.Frameworks
{
    public interface IFrameworkCompatibilityListProvider
    {
        /// <summary>
        /// Get a list of frameworks supporting the provided framework. This list
        /// is not meant to be exhaustive but is instead meant to be human-readable.
        /// Ex: netstandard1.5 -> netstandardapp1.5, net462, dnxcore50, ...
        /// </summary>
        IEnumerable<NuGetFramework> GetFrameworksSupporting(NuGetFramework target);
    }
}