C# Class NuGetGallery.ApiController

Inheritance: Controller
Datei anzeigen Open project: chocolatey/chocolatey.org Class Usage Examples

Private Properties

Property Type Description
ApiController System
CleanupPackage System.Web.Mvc.ActionResult
CreatePackageInternal System.Web.Mvc.ActionResult
CreatePackagePost System.Web.Mvc.ActionResult
CreatePackagePost System.Web.Mvc.ActionResult
CreatePackagePut System.Web.Mvc.ActionResult
CreatePackagePut System.Web.Mvc.ActionResult
DeletePackage System.Web.Mvc.ActionResult
DeletePackage System.Web.Mvc.ActionResult
DownloadCachePackage System.Web.Mvc.ActionResult
GetNuGetExe System.Web.Mvc.ActionResult
GetPackage System.Web.Mvc.ActionResult
GetPackage System.Web.Mvc.ActionResult
GetPackageIds System.Web.Mvc.ActionResult
GetPackageIds System.Web.Mvc.ActionResult
GetPackageVersions System.Web.Mvc.ActionResult
GetPackageVersions System.Web.Mvc.ActionResult
GetScanResults System.Web.Mvc.ActionResult
PublishPackage System.Web.Mvc.ActionResult
PublishPackage System.Web.Mvc.ActionResult
RedirectToAction System.Web.Mvc.RedirectToRouteResult
ScanPackage System.Web.Mvc.ActionResult
SubmitPackageCleanupResults System.Web.Mvc.ActionResult
SubmitPackageDownloadCacheResults System.Web.Mvc.ActionResult
SubmitPackageScanResults System.Web.Mvc.ActionResult
SubmitPackageTestResults System.Web.Mvc.ActionResult
SubmitPackageValidationResults System.Web.Mvc.ActionResult
TestPackage System.Web.Mvc.ActionResult
ValidatePackage System.Web.Mvc.ActionResult
VerifyPackageKey System.Web.Mvc.ActionResult
VerifyPackageKey System.Web.Mvc.ActionResult

Public Methods

Method Description
ApiController ( IPackageService packageSvc, IScanService scanSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc, IConfiguration settings ) : System

Protected Methods

Method Description
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
ReadPackageFromRequest ( ) : IPackage

Private Methods

Method Description
ApiController ( Dummy d ) : System
CleanupPackage ( ) : System.Web.Mvc.ActionResult
CreatePackageInternal ( string apiKey ) : System.Web.Mvc.ActionResult
CreatePackagePost ( ) : System.Web.Mvc.ActionResult
CreatePackagePost ( string apiKey ) : System.Web.Mvc.ActionResult
CreatePackagePut ( ) : System.Web.Mvc.ActionResult
CreatePackagePut ( string apiKey ) : System.Web.Mvc.ActionResult
DeletePackage ( ) : System.Web.Mvc.ActionResult
DeletePackage ( string apiKey, string id, string version ) : System.Web.Mvc.ActionResult
DownloadCachePackage ( ) : System.Web.Mvc.ActionResult
GetNuGetExe ( ) : System.Web.Mvc.ActionResult
GetPackage ( ) : System.Web.Mvc.ActionResult
GetPackage ( string id, string version ) : System.Web.Mvc.ActionResult
GetPackageIds ( ) : System.Web.Mvc.ActionResult
GetPackageIds ( string partialId, bool includePrerelease ) : System.Web.Mvc.ActionResult
GetPackageVersions ( ) : System.Web.Mvc.ActionResult
GetPackageVersions ( string id, bool includePrerelease ) : System.Web.Mvc.ActionResult
GetScanResults ( string apiKey, string id, string version, string sha256Checksum ) : System.Web.Mvc.ActionResult
PublishPackage ( ) : System.Web.Mvc.ActionResult
PublishPackage ( string apiKey, string id, string version ) : System.Web.Mvc.ActionResult
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult
ScanPackage ( ) : System.Web.Mvc.ActionResult
SubmitPackageCleanupResults ( string apiKey, string id, string version, bool reject, string cleanupComments ) : System.Web.Mvc.ActionResult
SubmitPackageDownloadCacheResults ( string apiKey, string id, string version, string cacheStatus, string cacheData ) : System.Web.Mvc.ActionResult
SubmitPackageScanResults ( string apiKey, string id, string version, string scanStatus, ICollection scanResults ) : System.Web.Mvc.ActionResult
SubmitPackageTestResults ( string apiKey, string id, string version, bool success, string resultDetailsUrl ) : System.Web.Mvc.ActionResult
SubmitPackageValidationResults ( string apiKey, string id, string version, bool success, string validationComments ) : System.Web.Mvc.ActionResult
TestPackage ( ) : System.Web.Mvc.ActionResult
ValidatePackage ( ) : System.Web.Mvc.ActionResult
VerifyPackageKey ( ) : System.Web.Mvc.ActionResult
VerifyPackageKey ( string apiKey, string id, string version ) : System.Web.Mvc.ActionResult

Method Details

ApiController() public method

public ApiController ( IPackageService packageSvc, IScanService scanSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc, IConfiguration settings ) : System
packageSvc IPackageService
scanSvc IScanService
packageFileSvc IPackageFileService
userSvc IUserService
nugetExeDownloaderSvc INuGetExeDownloaderService
settings IConfiguration
return System

OnException() protected method

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void

ReadPackageFromRequest() protected method

protected ReadPackageFromRequest ( ) : IPackage
return IPackage