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).
ファイルを表示 Open project: Gainedge/BetterExplorer

Public Methods

Method 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

Method Description
ReplaceVersionInLine ( string line, string assemblyVersionPrefix, string newVersion ) : string

Returns the assembly information line with the new version.

Method Details

GetName() public static method

Gets the name of the project.
public static GetName ( this project ) : string
project this
return string

ReplaceVersion() public static method

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