C# 클래스 PackmanVsix.Models.PackageSearchUtil

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

공개 메소드들

메소드 설명
CalculateMatchStrength ( ISearchItem searchItem ) : int
ForTerm ( string term ) : PackageSearchUtil
GetMatchesInText ( string text ) : IReadOnlyList
IsMatch ( ISearchItem searchItem ) : bool

비공개 메소드들

메소드 설명
CalculatePartScore ( string alias, string part ) : int
PackageSearchUtil ( string searchTerm ) : System
ProcessMatchCollection ( string sourceString, MatchCollection matches, List ranges ) : void

메소드 상세

CalculateMatchStrength() 공개 메소드

public CalculateMatchStrength ( ISearchItem searchItem ) : int
searchItem ISearchItem
리턴 int

ForTerm() 공개 정적인 메소드

public static ForTerm ( string term ) : PackageSearchUtil
term string
리턴 PackageSearchUtil

GetMatchesInText() 공개 메소드

public GetMatchesInText ( string text ) : IReadOnlyList
text string
리턴 IReadOnlyList

IsMatch() 공개 메소드

public IsMatch ( ISearchItem searchItem ) : bool
searchItem ISearchItem
리턴 bool