C# Class StagingWebApi.Resources.V3RegistrationResource

Inheritance: StageResourceBase
ファイルを表示 Open project: NuGet/Entropy

Public Methods

Method Description
GetIndex ( string id ) : Task
GetPackageDetails ( ) : PackageDetails>>.Task
GetPage ( string id, string lower, string upper ) : Task
GetResourceStream ( string resName ) : Stream
V3RegistrationResource ( Uri registrationUri, string ownerName, string stageId ) : JsonLD.Core

Private Methods

Method Description
CreateNuspecGraph ( System.Xml.Linq.XDocument nuspec, Uri baseAddress, XslCompiledTransform xslt ) : IGraph
GetBaseServiceIndex ( string id ) : Task
GetJson ( string name ) : JToken
GetPackageMetadata ( Uri registrationUri, string>.IDictionary packageContentLocations ) : Task>
GetRegistrationBaseAddress ( ) : Task
GetXslt ( string name ) : XslCompiledTransform
LoadRanges ( HttpClient httpClient, Uri registrationUri, CancellationToken token ) : Task>
MakeCatalogEntry ( string id, string version ) : Newtonsoft.Json.Linq.JObject
MakeCatalogEntry ( string nuspecLocation ) : Task
MakeJson ( List packageMetadata, string>.IDictionary packageContentLocations, string registration ) : string
NormalizeNuspecNamespace ( System.Xml.Linq.XDocument original, XslCompiledTransform xslt ) : System.Xml.Linq.XDocument

Method Details

GetIndex() public method

public GetIndex ( string id ) : Task
id string
return Task

GetPackageDetails() public method

public GetPackageDetails ( ) : PackageDetails>>.Task
return PackageDetails>>.Task

GetPage() public method

public GetPage ( string id, string lower, string upper ) : Task
id string
lower string
upper string
return Task

GetResourceStream() public static method

public static GetResourceStream ( string resName ) : Stream
resName string
return Stream

V3RegistrationResource() public method

public V3RegistrationResource ( Uri registrationUri, string ownerName, string stageId ) : JsonLD.Core
registrationUri System.Uri
ownerName string
stageId string
return JsonLD.Core