Method PrintPackagesVersion
PrintPackagesVersion(string)
Print the version of the package with the specified name, if not specified, print all the packages
Declaration
public static bool PrintPackagesVersion(string targetPackageNameOrAssemblyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | targetPackageNameOrAssemblyName |
Returns
| Type | Description |
|---|---|
| bool | Whether the specified package is found |
PrintPackagesVersion(Type)
Print the version of the package with the type in the package assembly.
Declaration
public static bool PrintPackagesVersion(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type in the package assembly |
Returns
| Type | Description |
|---|---|
| bool | Whether the specified package is found |