C# 클래스 Tests2.BBCodeTestUtil

파일 보기 프로젝트 열기: Pablissimo/CodeKicker.BBCode-Mod 1 사용 예제들

공개 메소드들

메소드 설명
CreateRootNode ( BBTag allowedTags ) : SequenceNode
GetAnyTree ( ) : SequenceNode
GetParserForTest ( ErrorMode errorMode, bool includePlaceholder, BBTagClosingStyle listItemBBTagClosingStyle, bool enableIterationElementBehavior ) : BBCodeParser
GetSimpleParserForTest ( ErrorMode errorMode ) : BBCodeParser
IsValid ( string bbCode, ErrorMode errorMode ) : bool
SimpleBBEncodeForTest ( string bbCode, ErrorMode errorMode ) : string

비공개 메소드들

메소드 설명
AddSubnodes ( BBTag allowedTags, SyntaxTreeNode node ) : void
CreateNode ( BBTag allowedTags, bool allowText ) : SyntaxTreeNode
GetUrl2Href ( IAttributeRenderingContext attributeRenderingContext ) : string

메소드 상세

CreateRootNode() 공개 정적인 메소드

public static CreateRootNode ( BBTag allowedTags ) : SequenceNode
allowedTags CodeKicker.BBCode.BBTag
리턴 CodeKicker.BBCode.SyntaxTree.SequenceNode

GetAnyTree() 공개 정적인 메소드

public static GetAnyTree ( ) : SequenceNode
리턴 CodeKicker.BBCode.SyntaxTree.SequenceNode

GetParserForTest() 공개 정적인 메소드

public static GetParserForTest ( ErrorMode errorMode, bool includePlaceholder, BBTagClosingStyle listItemBBTagClosingStyle, bool enableIterationElementBehavior ) : BBCodeParser
errorMode ErrorMode
includePlaceholder bool
listItemBBTagClosingStyle BBTagClosingStyle
enableIterationElementBehavior bool
리턴 CodeKicker.BBCode.BBCodeParser

GetSimpleParserForTest() 공개 정적인 메소드

public static GetSimpleParserForTest ( ErrorMode errorMode ) : BBCodeParser
errorMode ErrorMode
리턴 CodeKicker.BBCode.BBCodeParser

IsValid() 공개 정적인 메소드

public static IsValid ( string bbCode, ErrorMode errorMode ) : bool
bbCode string
errorMode ErrorMode
리턴 bool

SimpleBBEncodeForTest() 공개 정적인 메소드

public static SimpleBBEncodeForTest ( string bbCode, ErrorMode errorMode ) : string
bbCode string
errorMode ErrorMode
리턴 string