refacto name spaces
This commit is contained in:
parent
654065d7fe
commit
94eb8e2fff
108 changed files with 1839 additions and 282 deletions
|
|
@ -1,11 +1,9 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using isn.Abstract;
|
||||
using isnd.Controllers;
|
||||
using Isn.Abstract;
|
||||
using isnd.Data;
|
||||
using isnd.Data.Catalog;
|
||||
using isnd.Data.Packages;
|
||||
using isnd.Data.Packages.Catalog;
|
||||
using isnd.Services;
|
||||
using isnd.ViewModels;
|
||||
using NuGet.Versioning;
|
||||
|
|
@ -13,23 +11,67 @@ using Unleash;
|
|||
|
||||
namespace isnd.Interfaces
|
||||
{
|
||||
/**
|
||||
* IPackageManager
|
||||
*/
|
||||
public interface IPackageManager
|
||||
{
|
||||
/**
|
||||
* CatalogBaseUrl
|
||||
*/
|
||||
string CatalogBaseUrl { get; }
|
||||
/**
|
||||
* AutoComplete generation
|
||||
*/
|
||||
AutoCompleteResult AutoComplete(string pkgid, int skip, int take, bool prerelease = false, string packageType = null);
|
||||
|
||||
/**
|
||||
* GetVersions
|
||||
*/
|
||||
string[] GetVersions(string pkgid, NuGetVersion parsedVersion, bool prerelease = false, string packageType = null, int skip = 0, int take = 25);
|
||||
IEnumerable<Resource> GetResources(IUnleash unleashĈlient);
|
||||
Task<RegistrationPageIndex> ÛpdateCatalogForAsync(Commit commit);
|
||||
/**
|
||||
* GetResources
|
||||
*/
|
||||
IEnumerable<Resource> GetResources(IUnleash unleashClient);
|
||||
/**
|
||||
* UpdateCatalogForAsync
|
||||
*/
|
||||
Task<RegistrationPageIndex> UpdateCatalogForAsync(Commit commit);
|
||||
/**
|
||||
* DeletePackageAsync
|
||||
*/
|
||||
Task<PackageDeletionReport> DeletePackageAsync(string pkgid, string version, string type);
|
||||
|
||||
/**
|
||||
* UserAskForPackageDeletionAsync
|
||||
*/
|
||||
Task<PackageDeletionReport> UserAskForPackageDeletionAsync(string userid, string pkgId, string lower, string type);
|
||||
|
||||
/**
|
||||
* GetPackageAsync
|
||||
*/
|
||||
Task<PackageVersion> GetPackageAsync(string pkgid, string version, string type);
|
||||
|
||||
/**
|
||||
* GetCatalogEntryAsync
|
||||
*/
|
||||
Task<CatalogEntry> GetCatalogEntryAsync(string pkgId, string version, string pkgType);
|
||||
/**
|
||||
* SearchCatalogEntriesById
|
||||
*/
|
||||
IEnumerable<CatalogEntry> SearchCatalogEntriesById(string pkgId, string semver, string pkgType);
|
||||
|
||||
/**
|
||||
* GetCatalogIndexAsync
|
||||
*/
|
||||
Task<RegistrationPageIndex> GetCatalogIndexAsync();
|
||||
/**
|
||||
* GetPackageRegistrationIndexAsync
|
||||
*/
|
||||
Task<RegistrationPageIndex> GetPackageRegistrationIndexAsync(RegistrationPageIndexQuery query);
|
||||
|
||||
/**
|
||||
* SearchPackageAsync
|
||||
*/
|
||||
Task<RegistrationPageIndex> SearchPackageAsync(RegistrationPageIndexQuery query);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue