C# 클래스 Aura.Mabi.Tags

Represents a tag string, that can be checked against.
Supports AND "&", OR "|", braces "()", and asterisks as wildcard. Since the match check uses regex, more complicated checks than the ones in the examples could technically be done.
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
Matches ( string tag ) : bool

Returns true if this instance contains the given tag.

Tags ( ) : System.Text.RegularExpressions

Creates new tags instance.

Tags ( string value ) : System.Text.RegularExpressions

Creates new tags instance.

ToString ( ) : string

Returns tags as string.

비공개 메소드들

메소드 설명
Check ( string tags, int level ) : bool

Returns true if the given string matches the tags of this instance.

Evaluate ( string tag ) : bool

Returns true if the given tag can be found inside this instance.

메소드 상세

Matches() 공개 메소드

Returns true if this instance contains the given tag.
public Matches ( string tag ) : bool
tag string
리턴 bool

Tags() 공개 메소드

Creates new tags instance.
public Tags ( ) : System.Text.RegularExpressions
리턴 System.Text.RegularExpressions

Tags() 공개 메소드

Creates new tags instance.
public Tags ( string value ) : System.Text.RegularExpressions
value string
리턴 System.Text.RegularExpressions

ToString() 공개 메소드

Returns tags as string.
public ToString ( ) : string
리턴 string