Свойство | Тип | Описание | |
---|---|---|---|
GetPackageReference | |||
GetPackagesCore | IEnumerable |
Метод | Описание | |
---|---|---|
AddPackage ( IPackage package ) : void | ||
AddPackage ( string packageId, SemanticVersion version, FrameworkName targetFramework ) : void | ||
Exists ( string packageId, SemanticVersion version ) : bool | ||
FindPackage ( string packageId, SemanticVersion version ) : IPackage | ||
GetConstraint ( string packageId ) : IVersionSpec | ||
GetPackageTargetFramework ( string packageId ) : FrameworkName | ||
GetPackages ( ) : IQueryable |
||
PackageReferenceRepository ( IFileSystem fileSystem, ISharedPackageRepository sourceRepository ) : System | ||
RegisterIfNecessary ( ) : void | ||
RemovePackage ( IPackage package ) : void | ||
TryFindLatestPackageById ( string id, SemanticVersion &latestVersion ) : bool |
Метод | Описание | |
---|---|---|
GetPackageReference ( string packageId ) : |
||
GetPackagesCore ( ) : IEnumerable |
public AddPackage ( IPackage package ) : void | ||
package | IPackage | |
Результат | void |
public AddPackage ( string packageId, SemanticVersion version, FrameworkName targetFramework ) : void | ||
packageId | string | |
version | SemanticVersion | |
targetFramework | FrameworkName | |
Результат | void |
public Exists ( string packageId, SemanticVersion version ) : bool | ||
packageId | string | |
version | SemanticVersion | |
Результат | bool |
public FindPackage ( string packageId, SemanticVersion version ) : IPackage | ||
packageId | string | |
version | SemanticVersion | |
Результат | IPackage |
public GetConstraint ( string packageId ) : IVersionSpec | ||
packageId | string | |
Результат | IVersionSpec |
public GetPackageTargetFramework ( string packageId ) : FrameworkName | ||
packageId | string | |
Результат | FrameworkName |
public PackageReferenceRepository ( IFileSystem fileSystem, ISharedPackageRepository sourceRepository ) : System | ||
fileSystem | IFileSystem | |
sourceRepository | ISharedPackageRepository | |
Результат | System |
public RemovePackage ( IPackage package ) : void | ||
package | IPackage | |
Результат | void |
public TryFindLatestPackageById ( string id, SemanticVersion &latestVersion ) : bool | ||
id | string | |
latestVersion | SemanticVersion | |
Результат | bool |