C# Class Packman.CdnjsProvider

Inheritance: IPackageProvider
显示文件 Open project: madskristensen/Packman Class Usage Examples

Public Methods

Method Description
CdnjsProvider ( ) : System
GetAlias ( string s ) : string
GetInstallablePackageAsync ( string packageName, string version ) : Task
GetPackageInfoAsync ( string packageName ) : Task
GetPackageNamesAsync ( ) : Task>
GetVersionsAsync ( string packageName ) : Task>
InitializeAsync ( ) : Task

Private Methods

Method Description
IsCachedVersionOld ( IEnumerable &packages ) : bool

Method Details

CdnjsProvider() public method

public CdnjsProvider ( ) : System
return System

GetAlias() public method

public GetAlias ( string s ) : string
s string
return string

GetInstallablePackageAsync() public method

public GetInstallablePackageAsync ( string packageName, string version ) : Task
packageName string
version string
return Task

GetPackageInfoAsync() public method

public GetPackageInfoAsync ( string packageName ) : Task
packageName string
return Task

GetPackageNamesAsync() public method

public GetPackageNamesAsync ( ) : Task>
return Task>

GetVersionsAsync() public method

public GetVersionsAsync ( string packageName ) : Task>
packageName string
return Task>

InitializeAsync() public method

public InitializeAsync ( ) : Task
return Task