Class NuGetHelper
- Namespace
- MonkeyLoader.NuGet
- Assembly
- MonkeyLoader.dll
public static class NuGetHelper
- Inheritance
-
NuGetHelper
- Inherited Members
Properties
CompatibilityProvider
Gets the framework compatibility provider to use.
public static IFrameworkCompatibilityProvider CompatibilityProvider { get; }
Property Value
- IFrameworkCompatibilityProvider
CompatibleFrameworkFolders
Gets the short folder names of the NuGet.Frameworks.NuGetFrameworks compatible with this AppDomain's framework.
public static IEnumerable<string> CompatibleFrameworkFolders { get; }
Property Value
CompatibleFrameworks
Gets the NuGet.Frameworks.NuGetFrameworks compatible with this AppDomain's framework.
public static IEnumerable<NuGetFramework> CompatibleFrameworks { get; }
Property Value
- IEnumerable<NuGetFramework>
Framework
Gets the NuGet framework of the current AppDomain's framework target.
public static NuGetFramework Framework { get; }
Property Value
- NuGetFramework
FrameworkName
Gets the framework target of the current AppDomain.
public static string FrameworkName { get; }
Property Value
NameProvider
Gets the framework name provider to use.
public static IFrameworkNameProvider NameProvider { get; }
Property Value
- IFrameworkNameProvider
Methods
GetNearestCompatible<T>(IEnumerable<T>)
public static T? GetNearestCompatible<T>(this IEnumerable<T> items) where T : class, IFrameworkSpecific
Parameters
items
IEnumerable<T>
Returns
- T
Type Parameters
T
GetNearestCompatible<T>(IEnumerable<T>, Func<T, NuGetFramework>)
public static T? GetNearestCompatible<T>(this IEnumerable<T> items, Func<T, NuGetFramework> selector) where T : class
Parameters
items
IEnumerable<T>selector
Func<T, NuGetFramework>
Returns
- T
Type Parameters
T