C# Class newtelligence.DasBlog.Runtime.DayEntry

Inheritance: IDayEntry
ファイルを表示 Open project: AArnott/dasblog Class Usage Examples

Private Properties

Property Type Description
Load void
Save void

Public Methods

Method 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

Method Description
Load ( DataManager data ) : void
Save ( DataManager data ) : void

Method Details

GetEntries() public method

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

GetEntries() public method

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

GetEntries() public method

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
return EntryCollection

GetEntries() public method

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
return EntryCollection

GetEntryByTitle() public method

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

Initialize() public method

public Initialize ( ) : void
return void

OccursBefore() public static method

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
return bool

OccursBetween() public static method

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
return bool

OccursInMonth() public static method

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
return bool