Show / Hide Table of Contents

Class VoloNugetPackagesVersionUpdater

Inheritance
object
VoloNugetPackagesVersionUpdater
Implements
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.ProjectModification
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class VoloNugetPackagesVersionUpdater : ITransientDependency

Constructors

VoloNugetPackagesVersionUpdater(NuGetService, MyGetPackageListFinder)

Declaration
public VoloNugetPackagesVersionUpdater(NuGetService nuGetService, MyGetPackageListFinder myGetPackageListFinder)
Parameters
Type Name Description
NuGetService nuGetService
MyGetPackageListFinder myGetPackageListFinder

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
Type Description
Microsoft.Extensions.Logging.ILogger<TCategoryName><VoloNugetPackagesVersionUpdater>

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

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft