C# Class NuGet.Services.Metadata.Catalog.PackageCatalogItem

Inheritance: NuGet.Services.Metadata.Catalog.AppendOnlyCatalogItem
Afficher le fichier Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Méthodes publiques

Méthode Description
CreateContent ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : NuGet.Services.Metadata.Catalog.Persistence.StorageContent
CreateContentGraph ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : IGraph
CreatePageContent ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : IGraph
GetItemType ( ) : Uri
PackageCatalogItem ( NupkgMetadata nupkgMetadata, DateTime createdDate = null, DateTime lastEditedDate = null, DateTime publishedDate = null, string licenseNames = null, string licenseReportUrl = null ) : Newtonsoft.Json.Linq

Méthodes protégées

Méthode Description
GetItemIdentity ( ) : string
SetIdVersionFromGraph ( IGraph graph ) : void

Private Methods

Méthode Description
CreateNuspecGraph ( System.Xml.Linq.XDocument nuspec, Uri baseAddress, XslCompiledTransform xslt ) : IGraph
GetListed ( DateTime published ) : bool
NormalizeNuspecNamespace ( XDocument original, XslCompiledTransform xslt ) : XDocument
NormalizeXml ( XmlNode xmlNode ) : void

Method Details

CreateContent() public méthode

public CreateContent ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : NuGet.Services.Metadata.Catalog.Persistence.StorageContent
context NuGet.Services.Metadata.Catalog.CatalogContext
Résultat NuGet.Services.Metadata.Catalog.Persistence.StorageContent

CreateContentGraph() public méthode

public CreateContentGraph ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : IGraph
context NuGet.Services.Metadata.Catalog.CatalogContext
Résultat IGraph

CreatePageContent() public méthode

public CreatePageContent ( NuGet.Services.Metadata.Catalog.CatalogContext context ) : IGraph
context NuGet.Services.Metadata.Catalog.CatalogContext
Résultat IGraph

GetItemIdentity() protected méthode

protected GetItemIdentity ( ) : string
Résultat string

GetItemType() public méthode

public GetItemType ( ) : Uri
Résultat System.Uri

PackageCatalogItem() public méthode

public PackageCatalogItem ( NupkgMetadata nupkgMetadata, DateTime createdDate = null, DateTime lastEditedDate = null, DateTime publishedDate = null, string licenseNames = null, string licenseReportUrl = null ) : Newtonsoft.Json.Linq
nupkgMetadata NupkgMetadata
createdDate DateTime
lastEditedDate DateTime
publishedDate DateTime
licenseNames string
licenseReportUrl string
Résultat Newtonsoft.Json.Linq

SetIdVersionFromGraph() protected méthode

protected SetIdVersionFromGraph ( IGraph graph ) : void
graph IGraph
Résultat void