| File: DefaultCompatibilityProvider.cs | Web Access |
| Project: 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. namespace NuGet.Frameworks { public sealed class DefaultCompatibilityProvider : CompatibilityProvider { public DefaultCompatibilityProvider() : base(DefaultFrameworkNameProvider.Instance) { } private static IFrameworkCompatibilityProvider? _instance; public static IFrameworkCompatibilityProvider Instance { get { if (_instance == null) { _instance = new DefaultCompatibilityProvider(); } return _instance; } } } }