C# Класс newtelligence.DasBlog.Runtime.BlogDataServiceXml

Наследование: IBlogDataService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetEntries ( Predicate dayEntryCriteria, Predicate entryCriteria, int maxDays, int maxEntries ) : EntryCollection

Returns an EntryCollection whose entries all fit the criteria specified by include.

Защищенные методы

Метод Описание
CrosspostWorker ( object argument ) : void
GetAbsolutePath ( string file ) : string
GetDateForEntry ( string entryId ) : System.DateTime
GetTrackbackLink ( string pageBody, string externalUri ) : string
HandleCrosspost ( CrosspostInfo ci, newtelligence.DasBlog.Runtime.Entry entry ) : void
InternalGetDayEntries ( System.DateTime startDate, TimeZone tz, int maxDays ) : DayEntryCollection

Gets a collection of newtelligence.DasBlog.Runtime.DayEntry structures for dates starting at the startDate backwards for at most maxDays.

InternalGetDayEntries ( Predicate dayEntryCriteria ) : DayEntryCollection

Load the DayEntries that match the criteria of the includeDayEntry delegate

InternalGetDayEntries ( Predicate dayEntryCriteria, int maxDays ) : DayEntryCollection

Returns loaded DayEntries that correspond to the criteria

InternalGetDayExtra ( System.DateTime date ) : DayExtra

Gets the DayExtra structure for a given date.

InternalGetEntry ( string entryId ) : newtelligence.DasBlog.Runtime.Entry
PingWeblogsWorker ( object argument ) : void
Pingback ( string sourceUri, string pingbackService, string pingbackTarget, string entryTitle ) : void
PingbackWorker ( object argument ) : void
TrackbackWorker ( object argument ) : void

Приватные методы

Метод Описание
BlogDataServiceXml ( string contentLocation, ILoggingDataService loggingService ) : System

The BlogDataServiceXml constructor is entrypoint for the dasBlog Runtime.

IBlogDataService ( ) : CategoryCacheEntryCollection
IBlogDataService ( string entryId, string commentId ) : Comment
IBlogDataService ( ) : CommentCollection

Gets all comments for this blog.

This method will be extremely slow on a blog with a lot of content.

IBlogDataService ( string entryId ) : CommentCollection
IBlogDataService ( string entryId, bool allComments ) : CommentCollection

IBlogDataService ( ) : System.DateTime

This DateTime of the most recent comment entry

IBlogDataService ( TimeZone tz ) : System.DateTime[]
IBlogDataService ( System.DateTime date ) : DayEntry
IBlogDataService ( System.DateTime date ) : DayExtra
IBlogDataService ( string entryId ) : newtelligence.DasBlog.Runtime.Entry

Returns the Entry for a given entryId.

IBlogDataService ( System.DateTime month, TimeZone timeZone, string acceptLanguages ) : EntryCollection
IBlogDataService ( System.DateTime startDateUtc, TimeZone tz, string acceptLanguages, int maxDays, int maxEntries, string categoryName ) : EntryCollection

Gets a collection of at most maxEntries newtelligence.DasBlog.Runtime.Entry structures for dates starting at the startDateUtc backwards for at most maxDays. The collection can optionally be filtered by a categoryName.

The start date is expressed as a date relative to the UTC timezone and is normalized to UTC 0000 hrs. The TimeZone passed to this method serves to offset UTC into display time.

IBlogDataService ( bool fullContent ) : EntryCollection
IBlogDataService ( string user ) : EntryCollection
IBlogDataService ( string categoryName, string acceptLanguages ) : EntryCollection
IBlogDataService ( newtelligence.DasBlog.Runtime.Entry entry ) : EntrySaveState
IBlogDataService ( string entryId ) : TrackingCollection
IBlogDataService ( Comment comment ) : void
IBlogDataService ( Tracking tracking ) : void
IBlogDataService ( object actions ) : void
IBlogDataService ( string entryId, CrosspostSiteCollection crosspostSites ) : void
IBlogDataService ( string entryId, string commentId ) : void
IBlogDataService ( string entryId, string trackingPermalink, TrackingType trackingType ) : void
InternalAddTracking ( Tracking tracking ) : void
InternalGetCommentsFor ( string entryId, bool allComments ) : CommentCollection
InternalGetDayEntry ( System.DateTime date ) : DayEntry
InternalSendMail ( newtelligence.DasBlog.Runtime.SendMailInfo info ) : void
SendMailHandler ( ) : void
TrackingHandler ( ) : void

Описание методов

CrosspostWorker() защищенный Метод

protected CrosspostWorker ( object argument ) : void
argument object
Результат void

GetAbsolutePath() защищенный Метод

protected GetAbsolutePath ( string file ) : string
file string
Результат string

GetDateForEntry() защищенный Метод

protected GetDateForEntry ( string entryId ) : System.DateTime
entryId string
Результат System.DateTime

GetEntries() публичный Метод

Returns an EntryCollection whose entries all fit the criteria specified by include.
public GetEntries ( Predicate dayEntryCriteria, Predicate entryCriteria, int maxDays, int maxEntries ) : EntryCollection
dayEntryCriteria Predicate A delegate that specifies which days should be included.
entryCriteria Predicate A delegate that specifies which entries should be included.
maxDays int The maximum number of days to include.
maxEntries int The maximum number of entries to return.
Результат EntryCollection

GetTrackbackLink() защищенный Метод

protected GetTrackbackLink ( string pageBody, string externalUri ) : string
pageBody string
externalUri string
Результат string

HandleCrosspost() защищенный Метод

protected HandleCrosspost ( CrosspostInfo ci, newtelligence.DasBlog.Runtime.Entry entry ) : void
ci CrosspostInfo
entry newtelligence.DasBlog.Runtime.Entry
Результат void

InternalGetDayEntries() защищенный Метод

Gets a collection of newtelligence.DasBlog.Runtime.DayEntry structures for dates starting at the startDate backwards for at most maxDays.
protected InternalGetDayEntries ( System.DateTime startDate, TimeZone tz, int maxDays ) : DayEntryCollection
startDate System.DateTime Date at which to start collecting DayEntry structures
tz System.TimeZone
maxDays int Maximum number of days to return. This number relates to /// days actually found and not to calendar days.
Результат DayEntryCollection

InternalGetDayEntries() защищенный Метод

Load the DayEntries that match the criteria of the includeDayEntry delegate
protected InternalGetDayEntries ( Predicate dayEntryCriteria ) : DayEntryCollection
dayEntryCriteria Predicate A delegate that returns true for each DayEntry that should be included in the DayEntryCollection returned
Результат DayEntryCollection

InternalGetDayEntries() защищенный Метод

Returns loaded DayEntries that correspond to the criteria
protected InternalGetDayEntries ( Predicate dayEntryCriteria, int maxDays ) : DayEntryCollection
dayEntryCriteria Predicate
maxDays int
Результат DayEntryCollection

InternalGetDayExtra() защищенный Метод

Gets the DayExtra structure for a given date.
protected InternalGetDayExtra ( System.DateTime date ) : DayExtra
date System.DateTime Date for which the structure shall be returned.
Результат DayExtra

InternalGetEntry() защищенный Метод

protected InternalGetEntry ( string entryId ) : newtelligence.DasBlog.Runtime.Entry
entryId string
Результат newtelligence.DasBlog.Runtime.Entry

PingWeblogsWorker() защищенный Метод

protected PingWeblogsWorker ( object argument ) : void
argument object
Результат void

Pingback() защищенный Метод

protected Pingback ( string sourceUri, string pingbackService, string pingbackTarget, string entryTitle ) : void
sourceUri string
pingbackService string
pingbackTarget string
entryTitle string
Результат void

PingbackWorker() защищенный Метод

protected PingbackWorker ( object argument ) : void
argument object
Результат void

TrackbackWorker() защищенный Метод

protected TrackbackWorker ( object argument ) : void
argument object
Результат void