C# 클래스 ExampleMenu.Examples.Recording.LooseSelectUtil

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

공개 메소드들

메소드 설명
LooseSelect ( IEnumerable options, string find, System.StringComparison sc ) : string

Loose string comparison. Returns the best match using increasingly inaccurate comparisons. Also makes sure there is a sole match at that level of accuracy. Spaces in the select string are ignored. The levels are: Perfect match (abcd in abcd) Prefix match (ab in abcd) Containing match (bc in abcd) Matching ordered sequence of characters (bd in abcd) If no sufficiently unique match was found, a LooseSelectException is thrown.

비공개 메소드들

메소드 설명
StringContainsSequence ( string str, string sequence, System.StringComparison sc ) : bool

메소드 상세

LooseSelect() 공개 정적인 메소드

Loose string comparison. Returns the best match using increasingly inaccurate comparisons. Also makes sure there is a sole match at that level of accuracy. Spaces in the select string are ignored. The levels are: Perfect match (abcd in abcd) Prefix match (ab in abcd) Containing match (bc in abcd) Matching ordered sequence of characters (bd in abcd) If no sufficiently unique match was found, a LooseSelectException is thrown.
public static LooseSelect ( IEnumerable options, string find, System.StringComparison sc ) : string
options IEnumerable
find string
sc System.StringComparison
리턴 string