Class SolutionPackageVersionFinder
Inheritance
object
SolutionPackageVersionFinder
Implements
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 SolutionPackageVersionFinder : ITransientDependency
Constructors
SolutionPackageVersionFinder()
Declaration
public SolutionPackageVersionFinder()
Methods
Find(string, string, string)
Declaration
public string Find(string solutionFile, string packagePrefix = "Volo.Abp", string excludedKeywords = "LeptonX")
Parameters
| Type | Name | Description |
|---|---|---|
| string | solutionFile | |
| string | packagePrefix | |
| string | excludedKeywords |
Returns
| Type | Description |
|---|---|
| string |
TryParseSemanticVersionFromCsprojFile(string, out SemanticVersion, string, string)
Declaration
public static bool TryParseSemanticVersionFromCsprojFile(string csprojContent, out SemanticVersion version, string packagePrefix = "Volo.Abp", string excludedKeywords = "LeptonX")
Parameters
| Type | Name | Description |
|---|---|---|
| string | csprojContent | |
| NuGet.Versioning.SemanticVersion | version | |
| string | packagePrefix | |
| string | excludedKeywords |
Returns
| Type | Description |
|---|---|
| bool |
TryParseVersionFromCsprojFile(string, out string, string, string)
Declaration
public static bool TryParseVersionFromCsprojFile(string csprojContent, out string version, string packagePrefix = "Volo.Abp", string excludedKeywords = "LeptonX")
Parameters
| Type | Name | Description |
|---|---|---|
| string | csprojContent | |
| string | version | |
| string | packagePrefix | |
| string | excludedKeywords |
Returns
| Type | Description |
|---|---|
| bool |