Search Results for

    Show / Hide Table of Contents

    Class NuGetConfigManager

    Inheritance
    object
    NuGetConfigManager
    Implements
    INuGetConfigManager
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.NuGetManager.Config
    Assembly: LemonEdge.NuGetManager.dll
    Syntax
    public class NuGetConfigManager : INuGetConfigManager

    Constructors

    NuGetConfigManager(INuGetConfigWrapper, ILogger<NuGetConfigManager>)

    Declaration
    public NuGetConfigManager(INuGetConfigWrapper nuGetConfigWrapper, ILogger<NuGetConfigManager> logger)
    Parameters
    Type Name Description
    INuGetConfigWrapper nuGetConfigWrapper
    ILogger<NuGetConfigManager> logger

    Properties

    Settings

    The NuGet.Configuration.ISettings loaded from a nuget.config file

    Declaration
    public ISettings Settings { get; }
    Property Value
    Type Description
    ISettings

    Methods

    GetDependencyBehavior()

    Gets the NuGet.Resolver.DependencyBehavior from Settings

    Default: NuGet.Resolver.DependencyBehavior.Lowest
    Declaration
    public DependencyBehavior GetDependencyBehavior()
    Returns
    Type Description
    DependencyBehavior

    GetPackagesPath()

    Gets the root packages (local cache) path

    Declaration
    public string GetPackagesPath()
    Returns
    Type Description
    string

    ReloadSettings()

    Reloads the Settings

    Declaration
    public ISettings ReloadSettings()
    Returns
    Type Description
    ISettings

    Implements

    INuGetConfigManager

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.