C# 클래스 XamlStyler.Core.Services.IndentService

파일 보기 프로젝트 열기: NicoVermeir/XamlStyler 1 사용 예제들

공개 메소드들

메소드 설명
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