C# Класс NuGetGallery.ApiController

Наследование: Controller
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
ApiController ( IPackageService packageSvc, IScanService scanSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc, IConfiguration settings ) : System

Защищенные методы

Метод Описание
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
ReadPackageFromRequest ( ) : IPackage

Приватные методы

Метод Описание
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

Описание методов

ApiController() публичный Метод

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
Результат System

OnException() защищенный Метод

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
Результат void

ReadPackageFromRequest() защищенный Метод

protected ReadPackageFromRequest ( ) : IPackage
Результат IPackage