![]() |
WGet.NET 4.4.1
A WinGet wrapper library for .Net.
|
Represents a winget pinned package. More...
Public Member Functions | |
override object | Clone () |
![]() | |
bool | SamePackage (WinGetPackage other, bool sameVersion=false) |
Checks if two packages are the same and optionally if they also have the same version. | |
override string | ToString () |
Properties | |
string | PinTypeString [get] |
Gets the pin type of the package as a System.String. | |
string | PinnedVersion [get] |
Gets the pinned version or version range. | |
PinType | PinType [get] |
Gets the pin type of the package. | |
![]() | |
string | Name [get] |
Gets the name of the package. | |
string | Id [get] |
Gets the id of the package. | |
string | VersionString [get] |
Gets the version of the package. | |
Version | Version [get] |
Gets the version of the package. | |
string | AvailableVersionString [get] |
Gets the newest available version of the package. | |
Version | AvailableVersion [get] |
Gets the newest available version of the package. | |
string | SourceName [get] |
Gets the source name for the package. | |
bool | HasShortenedId [get] |
Gets if id of the package is shortened. | |
bool | HasNoId [get] |
Gets if the package does not provide an id. | |
bool | HasUpgrade [get] |
Gets if the package can be upgraded. | |
bool | IsEmpty [get] |
Gets if the object is empty. | |
![]() |
Additional Inherited Members | |
![]() | |
static WinGetPackage | Create (string name, string id, string version, string sourceName="") |
Creates a new instance of the WGetNET.WinGetPackage class and returns it. | |
static WinGetPackage | Create (string name, string id, string version, string availableVersion, string sourceName="") |
Creates a new instance of the WGetNET.WinGetPackage class and returns it. | |
static WinGetPackage | Create (string name, string id, Version version, string sourceName="") |
Creates a new instance of the WGetNET.WinGetPackage class and returns it. | |
static WinGetPackage | Create (string name, string id, Version version, Version availableVersion, string sourceName="") |
Creates a new instance of the WGetNET.WinGetPackage class and returns it. | |
![]() |
Represents a winget pinned package.
Definition at line 12 of file WinGetPinnedPackage.cs.
|
virtual |
Reimplemented from WGetNET.WinGetPackage.
Definition at line 85 of file WinGetPinnedPackage.cs.
|
get |
Gets the pinned version or version range.
Definition at line 28 of file WinGetPinnedPackage.cs.
|
get |
Gets the pin type of the package.
Definition at line 39 of file WinGetPinnedPackage.cs.
|
get |
Gets the pin type of the package as a System.String.
Definition at line 17 of file WinGetPinnedPackage.cs.