C# 클래스 SadConsole.ColoredString

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

공개 프로퍼티들

프로퍼티 타입 설명
CustomProcessor Func

공개 메소드들

메소드 설명
Parse ( string value, int surfaceIndex = -1, Consoles surface = null, SurfaceEditor editor = null, ParseCommandStacks initialBehaviors = null ) : ColoredString

Creates a colored string by parsing commands embedded in the string.

메소드 상세

Parse() 공개 정적인 메소드

Creates a colored string by parsing commands embedded in the string.
public static Parse ( string value, int surfaceIndex = -1, Consoles surface = null, SurfaceEditor editor = null, ParseCommandStacks initialBehaviors = null ) : ColoredString
value string The string to parse.
surfaceIndex int Index of where this string will be printed.
surface Consoles The surface the string will be printed to.
editor SadConsole.Consoles.SurfaceEditor A surface editor associated with the text surface.
initialBehaviors SadConsole.StringParser.ParseCommandStacks Any initial defaults.
리턴 ColoredString

프로퍼티 상세

CustomProcessor 공개적으로 정적으로 프로퍼티

Custom processor called if any built in command is not triggerd. Signature is ("command", "sub command", existing glyphs, text surface, associated editor, command stacks).
public static Func CustomProcessor
리턴 Func