Gets whether the pattern occurs on the specified day, assuming a given start date and maximum occurrence count.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
protected override bool IncludesCore(
	DateTime startDate,
	DateTime day,
	bool limitOccurrences,
	Nullable<int> occurrenceCount
)
Visual Basic (Declaration)
Protected Overrides Function IncludesCore ( _
	startDate As DateTime, _
	day As DateTime, _
	limitOccurrences As Boolean, _
	occurrenceCount As Nullable(Of Integer) _
) As Boolean

Parameters

startDate
Type: System..::.DateTime
The start date of recurrence.
day
Type: System..::.DateTime
The day for which to check whether the recurrence occurs.
limitOccurrences
Type: System..::.Boolean
Whether to limit the number of occurrences considered.
occurrenceCount
Type: System..::.Nullable<(Of <(Int32>)>)
The maximum number of occurrences to consider, if limitOccurrences is true.

Return Value

true if the pattern occurs on day; otherwise false.

See Also