Property | Type | Description | |
---|---|---|---|
GetPackageReference | |||
GetPackagesCore | IEnumerable |
Method | 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 |
Method | Description | |
---|---|---|
GetPackageReference ( string packageId ) : |
||
GetPackagesCore ( ) : IEnumerable |
public AddPackage ( IPackage package ) : void | ||
package | IPackage | |
return | void |
public AddPackage ( string packageId, SemanticVersion version, FrameworkName targetFramework ) : void | ||
packageId | string | |
version | SemanticVersion | |
targetFramework | FrameworkName | |
return | void |
public Exists ( string packageId, SemanticVersion version ) : bool | ||
packageId | string | |
version | SemanticVersion | |
return | bool |
public FindPackage ( string packageId, SemanticVersion version ) : IPackage | ||
packageId | string | |
version | SemanticVersion | |
return | IPackage |
public GetConstraint ( string packageId ) : IVersionSpec | ||
packageId | string | |
return | IVersionSpec |
public GetPackageTargetFramework ( string packageId ) : FrameworkName | ||
packageId | string | |
return | FrameworkName |
public PackageReferenceRepository ( IFileSystem fileSystem, ISharedPackageRepository sourceRepository ) : System | ||
fileSystem | IFileSystem | |
sourceRepository | ISharedPackageRepository | |
return | System |
public RemovePackage ( IPackage package ) : void | ||
package | IPackage | |
return | void |
public TryFindLatestPackageById ( string id, SemanticVersion &latestVersion ) : bool | ||
id | string | |
latestVersion | SemanticVersion | |
return | bool |