Search Results for

    Show / Hide Table of Contents

    Class NuGetPackage

    Holds information for a given NuGet package's name, version, and if pre-release packages are considered

    Inheritance
    object
    NuGetPackage
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.NuGetManager.Models
    Assembly: LemonEdge.NuGetManager.dll
    Syntax
    public class NuGetPackage

    Constructors

    NuGetPackage(string, string, bool)

    Declaration
    public NuGetPackage(string packageName, string version, bool isPreRelease = false)
    Parameters
    Type Name Description
    string packageName
    string version
    bool isPreRelease

    Properties

    IsPreRelease

    If pre-release packages should be considered for installation

    Declaration
    public bool IsPreRelease { get; }
    Property Value
    Type Description
    bool

    PackageName

    The package name, source, or ID

    Declaration
    public string PackageName { get; }
    Property Value
    Type Description
    string

    Version

    The requested package version string (i.e. , 1.2.3, 3.4., etc.)

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    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.