C# Класс XamlStyler.Core.Services.IndentService

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetIndentString ( int depth ) : string
GetIndentString ( int depth, int additionalSpaces ) : string
IndentService ( bool indentWithTabs, int indentSize )
Normalize ( string line ) : string

Replace blocks of "indentsize" consecutive spaces with a tab, but only at the beginning of the line

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

GetIndentString() публичный Метод

public GetIndentString ( int depth ) : string
depth int
Результат string

GetIndentString() публичный Метод

public GetIndentString ( int depth, int additionalSpaces ) : string
depth int
additionalSpaces int
Результат string

IndentService() публичный Метод

public IndentService ( bool indentWithTabs, int indentSize )
indentWithTabs bool
indentSize int

Normalize() публичный Метод

Replace blocks of "indentsize" consecutive spaces with a tab, but only at the beginning of the line
public Normalize ( string line ) : string
line string
Результат string