C# Класс CCNet.Build.Common.Util

Some utility methods which are hard to be categorized yet.
Показать файл Открыть проект

Открытые методы

Метод Описание
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