C# 클래스 ShaderTools.Core.Text.SourceText

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

공개 메소드들

메소드 설명
From ( string text, string filename = null ) : SourceText
GetLineNumberFromPosition ( int position ) : int
GetText ( ) : string
GetText ( TextSpan textSpan ) : string
GetText ( int position, int length ) : string
this ( int index ) : char

메소드 상세

From() 공개 정적인 메소드

public static From ( string text, string filename = null ) : SourceText
text string
filename string
리턴 SourceText

GetLineNumberFromPosition() 공개 추상적인 메소드

public abstract GetLineNumberFromPosition ( int position ) : int
position int
리턴 int

GetText() 공개 메소드

public GetText ( ) : string
리턴 string

GetText() 공개 추상적인 메소드

public abstract GetText ( TextSpan textSpan ) : string
textSpan TextSpan
리턴 string

GetText() 공개 메소드

public GetText ( int position, int length ) : string
position int
length int
리턴 string

this() 공개 추상적인 메소드

public abstract this ( int index ) : char
index int
리턴 char