C# 클래스 ShaderTools.VisualStudio.Core.Util.Extensions.StringExtensions

파일 보기 프로젝트 열기: tgjones/HlslTools

공개 메소드들

메소드 설명
ContainsLineBreak ( this text ) : bool
ContainsTab ( this text ) : bool
ConvertTabToSpace ( this textSnippet, int tabSize, int initialColumn, int endPosition ) : int
GetColumnFromLineOffset ( this line, int endPosition, int tabSize ) : int
GetColumnOfFirstNonWhitespaceCharacterOrEndOfLine ( this line, int tabSize ) : int
GetFirstLineText ( this text ) : string
GetFirstNonWhitespaceOffset ( this line ) : int?
GetLastLineText ( this text ) : string
GetLeadingWhitespace ( this lineText ) : string
GetLineOffsetFromColumn ( this line, int column, int tabSize ) : int
GetNumberOfLineBreaks ( this text ) : int
GetTextColumn ( this text, int tabSize, int initialColumn ) : int
IndexOf ( this text, bool>.Func predicate ) : int

메소드 상세

ContainsLineBreak() 공개 정적인 메소드

public static ContainsLineBreak ( this text ) : bool
text this
리턴 bool

ContainsTab() 공개 정적인 메소드

public static ContainsTab ( this text ) : bool
text this
리턴 bool

ConvertTabToSpace() 공개 정적인 메소드

public static ConvertTabToSpace ( this textSnippet, int tabSize, int initialColumn, int endPosition ) : int
textSnippet this
tabSize int
initialColumn int
endPosition int
리턴 int

GetColumnFromLineOffset() 공개 정적인 메소드

public static GetColumnFromLineOffset ( this line, int endPosition, int tabSize ) : int
line this
endPosition int
tabSize int
리턴 int

GetColumnOfFirstNonWhitespaceCharacterOrEndOfLine() 공개 정적인 메소드

public static GetColumnOfFirstNonWhitespaceCharacterOrEndOfLine ( this line, int tabSize ) : int
line this
tabSize int
리턴 int

GetFirstLineText() 공개 정적인 메소드

public static GetFirstLineText ( this text ) : string
text this
리턴 string

GetFirstNonWhitespaceOffset() 공개 정적인 메소드

public static GetFirstNonWhitespaceOffset ( this line ) : int?
line this
리턴 int?

GetLastLineText() 공개 정적인 메소드

public static GetLastLineText ( this text ) : string
text this
리턴 string

GetLeadingWhitespace() 공개 정적인 메소드

public static GetLeadingWhitespace ( this lineText ) : string
lineText this
리턴 string

GetLineOffsetFromColumn() 공개 정적인 메소드

public static GetLineOffsetFromColumn ( this line, int column, int tabSize ) : int
line this
column int
tabSize int
리턴 int

GetNumberOfLineBreaks() 공개 정적인 메소드

public static GetNumberOfLineBreaks ( this text ) : int
text this
리턴 int

GetTextColumn() 공개 정적인 메소드

public static GetTextColumn ( this text, int tabSize, int initialColumn ) : int
text this
tabSize int
initialColumn int
리턴 int

IndexOf() 공개 정적인 메소드

public static IndexOf ( this text, bool>.Func predicate ) : int
text this
predicate bool>.Func
리턴 int