C# 클래스 ASR.Interface.Report

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

공개 메소드들

메소드 설명
AddFilter ( ASR.DomainObjects.FilterItem filter ) : void

Add a filter to the report

AddScanner ( ASR.DomainObjects.ScannerItem scanner ) : void

Add a Scanner to the report

AddViewer ( ASR.DomainObjects.ViewerItem viewer ) : void

Add a viewer to the report

Filter ( ) : void

Filters the results. All filters are "and" so an item needs to pass all filters to appear on the report.

FlushCache ( ) : void

flush the buffer for the scanner, so next time the report runs, scanner will be queried again.

FlushFilterCache ( ) : void

Flush the cache for the filtered elements, next time the filters will be called again.

GetResultElements ( ) : IEnumerable

Gets the results in this report. Will call Run() if it hasn't been called yet.

GetResultElements ( int start, int count ) : IEnumerable

Gets only a selection of the results elements. Useful for paging.

Report ( ) : System
ResultsCount ( ) : int

Total number of results.

Run ( ) : void

Run the report. It will only requery the Scanner if FlushCache has been used before calling this method.

비공개 메소드들

메소드 설명
IntializeDisplayElement ( object resultItem ) : DisplayElement
ParseDate ( string value ) : object
Sort ( IEnumerable tmp ) : IEnumerable

메소드 상세

AddFilter() 공개 메소드

Add a filter to the report
public AddFilter ( ASR.DomainObjects.FilterItem filter ) : void
filter ASR.DomainObjects.FilterItem
리턴 void

AddScanner() 공개 메소드

Add a Scanner to the report
public AddScanner ( ASR.DomainObjects.ScannerItem scanner ) : void
scanner ASR.DomainObjects.ScannerItem
리턴 void

AddViewer() 공개 메소드

Add a viewer to the report
public AddViewer ( ASR.DomainObjects.ViewerItem viewer ) : void
viewer ASR.DomainObjects.ViewerItem
리턴 void

Filter() 공개 메소드

Filters the results. All filters are "and" so an item needs to pass all filters to appear on the report.
public Filter ( ) : void
리턴 void

FlushCache() 공개 메소드

flush the buffer for the scanner, so next time the report runs, scanner will be queried again.
public FlushCache ( ) : void
리턴 void

FlushFilterCache() 공개 메소드

Flush the cache for the filtered elements, next time the filters will be called again.
public FlushFilterCache ( ) : void
리턴 void

GetResultElements() 공개 메소드

Gets the results in this report. Will call Run() if it hasn't been called yet.
public GetResultElements ( ) : IEnumerable
리턴 IEnumerable

GetResultElements() 공개 메소드

Gets only a selection of the results elements. Useful for paging.
public GetResultElements ( int start, int count ) : IEnumerable
start int first result to return
count int number of results to return
리턴 IEnumerable

Report() 공개 메소드

public Report ( ) : System
리턴 System

ResultsCount() 공개 메소드

Total number of results.
public ResultsCount ( ) : int
리턴 int

Run() 공개 메소드

Run the report. It will only requery the Scanner if FlushCache has been used before calling this method.
public Run ( ) : void
리턴 void