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

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

Private Properties

Свойство Тип Описание
Load void
Save void

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

Метод Описание
GetEntries ( ) : EntryCollection

Return EntryCollection excluding the private entries if the caller is not in the admin role.

GetEntries ( Predicate include ) : EntryCollection

Returns the entries that meet the include delegates criteria.

GetEntries ( Predicate include, int maxResults ) : EntryCollection

Returns the entries that meet the include delegates criteria, with the number of entries limited by .

GetEntries ( int maxResults ) : EntryCollection

Return EntryCollection with the number of entries limited by excluding the private entries if the caller is not in the admin role.

GetEntryByTitle ( string entryTitle ) : newtelligence.DasBlog.Runtime.Entry
Initialize ( ) : void
OccursBefore ( DayEntry dayEntry, System.DateTime dateTime ) : bool

Returns true if the specified DayEntry occurs before the day specified.

OccursBetween ( DayEntry dayEntry, TimeZone timeZone, System.DateTime startDateTime, System.DateTime endDateTime ) : bool
OccursInMonth ( DayEntry dayEntry, TimeZone timeZone, System.DateTime month ) : bool

Returns true if the specified DayEntry is within the same month as month;

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

Метод Описание
Load ( DataManager data ) : void
Save ( DataManager data ) : void

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

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

Return EntryCollection excluding the private entries if the caller is not in the admin role.
public GetEntries ( ) : EntryCollection
Результат EntryCollection

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

Returns the entries that meet the include delegates criteria.
public GetEntries ( Predicate include ) : EntryCollection
include Predicate The delegate indicating which items to include.
Результат EntryCollection

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

Returns the entries that meet the include delegates criteria, with the number of entries limited by .
public GetEntries ( Predicate include, int maxResults ) : EntryCollection
include Predicate The delegate indicating which items to include.
maxResults int
Результат EntryCollection

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

Return EntryCollection with the number of entries limited by excluding the private entries if the caller is not in the admin role.
public GetEntries ( int maxResults ) : EntryCollection
maxResults int
Результат EntryCollection

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

public GetEntryByTitle ( string entryTitle ) : newtelligence.DasBlog.Runtime.Entry
entryTitle string An URL-encoded entry title
Результат newtelligence.DasBlog.Runtime.Entry

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

public Initialize ( ) : void
Результат void

OccursBefore() публичный статический Метод

Returns true if the specified DayEntry occurs before the day specified.
public static OccursBefore ( DayEntry dayEntry, System.DateTime dateTime ) : bool
dayEntry DayEntry The DayEntry to check the date of.
dateTime System.DateTime The date the DayEntry should occur before
Результат bool

OccursBetween() публичный статический Метод

public static OccursBetween ( DayEntry dayEntry, TimeZone timeZone, System.DateTime startDateTime, System.DateTime endDateTime ) : bool
dayEntry DayEntry
timeZone System.TimeZone
startDateTime System.DateTime
endDateTime System.DateTime
Результат bool

OccursInMonth() публичный статический Метод

Returns true if the specified DayEntry is within the same month as month;
public static OccursInMonth ( DayEntry dayEntry, TimeZone timeZone, System.DateTime month ) : bool
dayEntry DayEntry
timeZone System.TimeZone
month System.DateTime
Результат bool