C# 클래스 PurplePen.DescriptionFormatter

The description formatter takes a CourseView, and transforms it into a generic description sheet -- an array of DescriptionLine objects.
파일 보기 프로젝트 열기: petergolde/PurplePen 1 사용 예제들

공개 메소드들

메소드 설명
ClearTextAndSymbols ( DescriptionLine lines ) : void
CreateDescription ( bool createKey ) : PurplePen.DescriptionLine[]
DescriptionFormatter ( CourseView courseView, SymbolDB symbolDB ) : System
DumpDescription ( SymbolDB symbolDB, DescriptionLine lines, TextWriter writer ) : void

비공개 메소드들

메소드 설명
AddTextLine ( List list, string text, Id courseControlId, Id controlId, DescriptionLine textLineKind ) : void
DumpDescriptionLine ( SymbolDB symbolDB, DescriptionLine line, TextWriter writer ) : void
FilterControl ( CourseView kind, ControlPoint control, ControlPoint controlPrev, ControlPoint controlNext ) : bool
FilterLeg ( CourseView kind, ControlPoint from, ControlPoint to, Leg leg ) : bool
GetAllControlsHeaderLine ( ) : DescriptionLine
GetAllVariationsHeaderLine ( ) : DescriptionLine
GetDirectiveLine ( CourseView kind, CourseView controlView, CourseView controlViewPrev ) : DescriptionLine
GetMapExchangeAtControlLine ( CourseView controlWithExchange ) : DescriptionLine
GetMapExchangeLine ( CourseView controlViewFrom, CourseView controlViewTo ) : DescriptionLine
GetMarkedRouteLine ( CourseView controlViewFrom, CourseView controlViewTo, Id legId ) : DescriptionLine
GetNormalHeaderLine ( ) : DescriptionLine
GetRegularLine ( CourseView kind, int scoreColumn, CourseView controlView, string>.Dictionary descriptionKey ) : DescriptionLine
GetScoreHeaderLine ( ) : DescriptionLine
GetTextLineFromText ( string text, Id courseControlId, Id controlId, DescriptionLine textLineKind ) : PurplePen.DescriptionLine[]
GetTitleLine1 ( ) : string
GetTitleLine2 ( ) : string
GetTitleLineFromText ( DescriptionLineKind kind, string text ) : PurplePen.DescriptionLine[]

메소드 상세

ClearTextAndSymbols() 공개 정적인 메소드

public static ClearTextAndSymbols ( DescriptionLine lines ) : void
lines DescriptionLine
리턴 void

CreateDescription() 공개 메소드

public CreateDescription ( bool createKey ) : PurplePen.DescriptionLine[]
createKey bool
리턴 PurplePen.DescriptionLine[]

DescriptionFormatter() 공개 메소드

public DescriptionFormatter ( CourseView courseView, SymbolDB symbolDB ) : System
courseView CourseView
symbolDB SymbolDB
리턴 System

DumpDescription() 공개 정적인 메소드

public static DumpDescription ( SymbolDB symbolDB, DescriptionLine lines, TextWriter writer ) : void
symbolDB SymbolDB
lines DescriptionLine
writer System.IO.TextWriter
리턴 void