Condividi tramite


IPackageReferenceSnapshot Interface

Definition

Describes a Package Reference in a Project Configuration, typically NuGet package references. Holds useful information in regards to a Package Reference like its Name, Type, and Version.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })]
public interface IPackageReferenceSnapshot : Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })>]
type IPackageReferenceSnapshot = interface
    interface IEntityWithId<IPackageReferenceSnapshot>
    interface IEntityWithId
    interface IEntity
Public Interface IPackageReferenceSnapshot
Implements IEntityWithId(Of IPackageReferenceSnapshot)
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Properties

Id

Gets the identity of the object.

(Inherited from IEntityWithId)
Name

Gets the name of the package to be referenced.

PropertiesAvailableStatus

Gets available properties status of a PackageReference.

Type

Gets the type of package reference, for example nuget.

Version

Gets the version of the package to be referenced.

Methods

AsQueryable()

Creates a queryable returning this entity object.

(Inherited from IEntityWithId<TEntity>)

Applies to