C# Class newtelligence.DasBlog.Runtime.DayEntry

Inheritance: IDayEntry
Afficher le fichier Open project: AArnott/dasblog Class Usage Examples

Private Properties

Свойство Type Description
Load void
Save void

Méthodes publiques

Méthode Description
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;

Private Methods

Méthode Description
Load ( DataManager data ) : void
Save ( DataManager data ) : void

Method Details

GetEntries() public méthode

Return EntryCollection excluding the private entries if the caller is not in the admin role.
public GetEntries ( ) : EntryCollection
Résultat EntryCollection

GetEntries() public méthode

Returns the entries that meet the include delegates criteria.
public GetEntries ( Predicate include ) : EntryCollection
include Predicate The delegate indicating which items to include.
Résultat EntryCollection

GetEntries() public méthode

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
Résultat EntryCollection

GetEntries() public méthode

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
Résultat EntryCollection

GetEntryByTitle() public méthode

public GetEntryByTitle ( string entryTitle ) : newtelligence.DasBlog.Runtime.Entry
entryTitle string An URL-encoded entry title
Résultat newtelligence.DasBlog.Runtime.Entry

Initialize() public méthode

public Initialize ( ) : void
Résultat void

OccursBefore() public static méthode

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
Résultat bool

OccursBetween() public static méthode

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
Résultat bool

OccursInMonth() public static méthode

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
Résultat bool