Class VoloNugetPackagesVersionUpdater
Inheritance
object
VoloNugetPackagesVersionUpdater
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class VoloNugetPackagesVersionUpdater : ITransientDependency
Constructors
VoloNugetPackagesVersionUpdater(NuGetService, MyGetPackageListFinder)
Declaration
public VoloNugetPackagesVersionUpdater(NuGetService nuGetService, MyGetPackageListFinder myGetPackageListFinder)
Parameters
Fields
DefaultEncoding
Declaration
public static Encoding DefaultEncoding
Field Value
| Type |
Description |
| System.Text.Encoding |
|
Properties
Logger
Declaration
public ILogger<VoloNugetPackagesVersionUpdater> Logger { get; set; }
Property Value
Methods
SpecifiedVersionExists(string, string)
Declaration
protected virtual Task<bool> SpecifiedVersionExists(string version, string packageId)
Parameters
| Type |
Name |
Description |
| string |
version |
|
| string |
packageId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
UpdateInternalAsync(string, bool, bool, bool)
Declaration
protected virtual Task UpdateInternalAsync(string projectPath, bool includeNightlyPreviews = false, bool includeReleaseCandidates = false, bool switchToStable = false)
Parameters
| Type |
Name |
Description |
| string |
projectPath |
|
| bool |
includeNightlyPreviews |
|
| bool |
includeReleaseCandidates |
|
| bool |
switchToStable |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
UpdateProjectAsync(string, bool, bool, bool, bool, string)
Declaration
public Task UpdateProjectAsync(string projectPath, bool includeNightlyPreviews = false, bool includeReleaseCandidates = false, bool switchToStable = false, bool checkAll = false, string version = null)
Parameters
| Type |
Name |
Description |
| string |
projectPath |
|
| bool |
includeNightlyPreviews |
|
| bool |
includeReleaseCandidates |
|
| bool |
switchToStable |
|
| bool |
checkAll |
|
| string |
version |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
UpdateSolutionAsync(string, bool, bool, bool, bool, string)
Declaration
public Task UpdateSolutionAsync(string solutionPath, bool includePreviews = false, bool includeReleaseCandidates = false, bool switchToStable = false, bool checkAll = false, string version = null)
Parameters
| Type |
Name |
Description |
| string |
solutionPath |
|
| bool |
includePreviews |
|
| bool |
includeReleaseCandidates |
|
| bool |
switchToStable |
|
| bool |
checkAll |
|
| string |
version |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
Extension Methods