C# 클래스 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).
파일 보기 프로젝트 열기: Gainedge/BetterExplorer

공개 메소드들

메소드 설명
GetName ( this project ) : string

Gets the name of the project.

ReplaceVersion ( this project, string newVersion ) : void

Replaces Assembly version number with the given one.

비공개 메소드들

메소드 설명
ReplaceVersionInLine ( string line, string assemblyVersionPrefix, string newVersion ) : string

Returns the assembly information line with the new version.

메소드 상세

GetName() 공개 정적인 메소드

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

ReplaceVersion() 공개 정적인 메소드

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