C# Класс CSharpUML.Strings

Показать файл Открыть проект

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

Метод Описание
Clean ( this str ) : string
IfContains ( this str, string find, System.Action action ) : string
IfContains ( this str, string find, string replacement, System.Action action ) : string
Indentation ( this text ) : int
RegexReplace ( this str, string find, string replacement ) : string
ReplaceFirst ( this text, string search, string replace ) : string
Split ( this s, string separator ) : string[]
ToCSharpType ( this s ) : string
ToCode ( this str, string before, string after ) : string
ToTexCode ( this str ) : string
TrimAll ( this strings ) : IEnumerable
TrimAll ( this s ) : string
Unique ( this arr ) : string

Описание методов

Clean() публичный статический Метод

public static Clean ( this str ) : string
str this
Результат string

IfContains() публичный статический Метод

public static IfContains ( this str, string find, System.Action action ) : string
str this
find string
action System.Action
Результат string

IfContains() публичный статический Метод

public static IfContains ( this str, string find, string replacement, System.Action action ) : string
str this
find string
replacement string
action System.Action
Результат string

Indentation() публичный статический Метод

public static Indentation ( this text ) : int
text this
Результат int

RegexReplace() публичный статический Метод

public static RegexReplace ( this str, string find, string replacement ) : string
str this
find string
replacement string
Результат string

ReplaceFirst() публичный статический Метод

public static ReplaceFirst ( this text, string search, string replace ) : string
text this
search string
replace string
Результат string

Split() публичный статический Метод

public static Split ( this s, string separator ) : string[]
s this
separator string
Результат string[]

ToCSharpType() публичный статический Метод

public static ToCSharpType ( this s ) : string
s this
Результат string

ToCode() публичный статический Метод

public static ToCode ( this str, string before, string after ) : string
str this
before string
after string
Результат string

ToTexCode() публичный статический Метод

public static ToTexCode ( this str ) : string
str this
Результат string

TrimAll() публичный статический Метод

public static TrimAll ( this strings ) : IEnumerable
strings this
Результат IEnumerable

TrimAll() публичный статический Метод

public static TrimAll ( this s ) : string
s this
Результат string

Unique() публичный статический Метод

public static Unique ( this arr ) : string
arr this
Результат string