C# 클래스 Subtext.Framework.Stats

Class used for managing stats. Provides facilities for queing stats. This is used for trackbacks and pingbacks.
Currently, we only track referrers to specific entries.
파일 보기 프로젝트 열기: ayende/Subtext

공개 메소드들

메소드 설명
AddQuedStats ( EntryView entryView ) : void

Adds EntryView instance to the stats queue.

ClearQueue ( bool save ) : void

Clears the queue of statistics. If save is specified, then stats are saved to an EntryView

GetPagedReferrers ( int pageIndex, int pageSize ) : IPagedCollection

Returns a pageable collection of the referrers for the specified entry.

GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection

Returns a pageable collection of the referrers for the specified entry.

TrackEntry ( IEnumerable evc ) : bool

Calls out to the data provider to track the specified IEnumerable{EntryView} instance.

TrackEntry ( EntryView ev ) : void

Calls out to the data provider to track the specified EntryView instance.

비공개 메소드들

메소드 설명
ClearTrackEntryQueue ( IEnumerable evc ) : void
Stats ( ) : System.Collections.Generic

Static Constructor.

메소드 상세

AddQuedStats() 공개 정적인 메소드

Adds EntryView instance to the stats queue.
public static AddQuedStats ( EntryView entryView ) : void
entryView Subtext.Framework.Components.EntryView Ev.
리턴 void

ClearQueue() 공개 정적인 메소드

Clears the queue of statistics. If save is specified, then stats are saved to an EntryView
public static ClearQueue ( bool save ) : void
save bool Save.
리턴 void

GetPagedReferrers() 공개 정적인 메소드

Returns a pageable collection of the referrers for the specified entry.
public static GetPagedReferrers ( int pageIndex, int pageSize ) : IPagedCollection
pageIndex int Index of the page.
pageSize int Size of the page.
리턴 IPagedCollection

GetPagedReferrers() 공개 정적인 메소드

Returns a pageable collection of the referrers for the specified entry.
public static GetPagedReferrers ( int pageIndex, int pageSize, int entryId ) : IPagedCollection
pageIndex int Index of the page.
pageSize int Size of the page.
entryId int The entry id.
리턴 IPagedCollection

TrackEntry() 공개 정적인 메소드

Calls out to the data provider to track the specified IEnumerable{EntryView} instance.
public static TrackEntry ( IEnumerable evc ) : bool
evc IEnumerable Evc.
리턴 bool

TrackEntry() 공개 정적인 메소드

Calls out to the data provider to track the specified EntryView instance.
public static TrackEntry ( EntryView ev ) : void
ev Subtext.Framework.Components.EntryView Ev.
리턴 void