C# 클래스 Roadkill.Core.Mvc.ViewModels.SearchResultViewModel

Contains data for a single search result from a search query.
파일 보기 프로젝트 열기: LocalGovDigital/pipeline 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EnsureFieldExists void
EnsureFieldsExist void

공개 메소드들

메소드 설명
SearchResultViewModel ( ) : System
SearchResultViewModel ( Lucene.Net.Documents.Document document, Lucene.Net.Search.ScoreDoc scoreDoc ) : System
TagsAsList ( ) : IEnumerable

Used by the search results view, for the list of tags.

비공개 메소드들

메소드 설명
EnsureFieldExists ( IList fields, string fieldname ) : void
EnsureFieldsExist ( Lucene.Net.Documents.Document document ) : void

메소드 상세

SearchResultViewModel() 공개 메소드

public SearchResultViewModel ( ) : System
리턴 System

SearchResultViewModel() 공개 메소드

public SearchResultViewModel ( Lucene.Net.Documents.Document document, Lucene.Net.Search.ScoreDoc scoreDoc ) : System
document Lucene.Net.Documents.Document
scoreDoc Lucene.Net.Search.ScoreDoc
리턴 System

TagsAsList() 공개 메소드

Used by the search results view, for the list of tags.
public TagsAsList ( ) : IEnumerable
리턴 IEnumerable