C# 클래스 CCNet.Build.Common.Util

Some utility methods which are hard to be categorized yet.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

메소드 설명
LocalNameToProjectNames ( string localName ) : List

Gets potenial project names which may correspond to the specified local name. E.g. for the local name "MyProject" it could be just "MyProject" or "CnetContent.MyProject".

Normalize ( this version ) : Version

Converts version to a form where all four components are specified.

ProjectNameToLocalName ( string projectName ) : string

Gets local name used for project files and folders. It is a project name where we omit some prefixes, like "CnetConent." for example.

ReplaceIgnoreCase ( this input, string search, string replacement ) : string

Performs case-insensitive string replacement.

메소드 상세

LocalNameToProjectNames() 공개 정적인 메소드

Gets potenial project names which may correspond to the specified local name. E.g. for the local name "MyProject" it could be just "MyProject" or "CnetContent.MyProject".
public static LocalNameToProjectNames ( string localName ) : List
localName string
리턴 List

Normalize() 공개 정적인 메소드

Converts version to a form where all four components are specified.
public static Normalize ( this version ) : Version
version this
리턴 Version

ProjectNameToLocalName() 공개 정적인 메소드

Gets local name used for project files and folders. It is a project name where we omit some prefixes, like "CnetConent." for example.
public static ProjectNameToLocalName ( string projectName ) : string
projectName string
리턴 string

ReplaceIgnoreCase() 공개 정적인 메소드

Performs case-insensitive string replacement.
public static ReplaceIgnoreCase ( this input, string search, string replacement ) : string
input this
search string
replacement string
리턴 string