Свойство | Type | Description | |
---|---|---|---|
GetPackageReference | |||
GetPackagesCore | IEnumerable |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
GetPackageReference ( string packageId ) : |
||
GetPackagesCore ( ) : IEnumerable |
public AddPackage ( IPackage package ) : void | ||
package | IPackage | |
Résultat | void |
public AddPackage ( string packageId, SemanticVersion version, FrameworkName targetFramework ) : void | ||
packageId | string | |
version | SemanticVersion | |
targetFramework | FrameworkName | |
Résultat | void |
public Exists ( string packageId, SemanticVersion version ) : bool | ||
packageId | string | |
version | SemanticVersion | |
Résultat | bool |
public FindPackage ( string packageId, SemanticVersion version ) : IPackage | ||
packageId | string | |
version | SemanticVersion | |
Résultat | IPackage |
public GetConstraint ( string packageId ) : IVersionSpec | ||
packageId | string | |
Résultat | IVersionSpec |
public GetPackageTargetFramework ( string packageId ) : FrameworkName | ||
packageId | string | |
Résultat | FrameworkName |
public PackageReferenceRepository ( IFileSystem fileSystem, ISharedPackageRepository sourceRepository ) : System | ||
fileSystem | IFileSystem | |
sourceRepository | ISharedPackageRepository | |
Résultat | System |
public RemovePackage ( IPackage package ) : void | ||
package | IPackage | |
Résultat | void |
public TryFindLatestPackageById ( string id, SemanticVersion &latestVersion ) : bool | ||
id | string | |
latestVersion | SemanticVersion | |
Résultat | bool |