C# Class Google.Apis.Release.ProjectExtenstions

Extension methods for the Project class. Add support in getting the short name of the project and also in replacing the current library version with the new version (ReplaceVersion).
Afficher le fichier Open project: Gainedge/BetterExplorer

Méthodes publiques

Méthode Description
GetName ( this project ) : string

Gets the name of the project.

ReplaceVersion ( this project, string newVersion ) : void

Replaces Assembly version number with the given one.

Private Methods

Méthode Description
ReplaceVersionInLine ( string line, string assemblyVersionPrefix, string newVersion ) : string

Returns the assembly information line with the new version.

Method Details

GetName() public static méthode

Gets the name of the project.
public static GetName ( this project ) : string
project this
Résultat string

ReplaceVersion() public static méthode

Replaces Assembly version number with the given one.
public static ReplaceVersion ( this project, string newVersion ) : void
project this
newVersion string
Résultat void