C# 클래스 NuGet.Indexing.NuGetAcronymExpansionProvider

This class loads a file that contains the acronyms we want to expand. This file could look like: { "ef": [ "ef", "entity framework" ] } The above file expands "ef" into both "ef" and "entity framework". The acronym itself must be repeated in the list of expansions. This approach allows us to "replace" acronyms as well. For example, imagine we want to treat "mvc5" as just "mvc". the expansion could look like: { "mvc5": [ "mvc" ] }
상속: IAcronymExpansionProvider
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata

공개 프로퍼티들

프로퍼티 타입 설명
Instance IAcronymExpansionProvider

공개 메소드들

메소드 설명
Expand ( string acronym ) : IEnumerable
GetKnownAcronyms ( ) : IEnumerable

비공개 메소드들

메소드 설명
NuGetAcronymExpansionProvider ( ) : System.Collections.Generic

메소드 상세

Expand() 공개 메소드

public Expand ( string acronym ) : IEnumerable
acronym string
리턴 IEnumerable

GetKnownAcronyms() 공개 메소드

public GetKnownAcronyms ( ) : IEnumerable
리턴 IEnumerable

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static IAcronymExpansionProvider Instance
리턴 IAcronymExpansionProvider