Initializes a new instance of the Schedule class.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public Schedule(
	Object content,
	DayScheduleProvider dayScheduleProvider
)
Visual Basic (Declaration)
Public Sub New ( _
	content As Object, _
	dayScheduleProvider As DayScheduleProvider _
)

Parameters

content
Type: System..::.Object
An object (usually a name) that identifies the new Schedule instance.
dayScheduleProvider
Type: DlhSoft.Windows.Data..::.DayScheduleProvider
A method that returns the work time intervals of a specified day that defines the new Schedule instance.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThe specified day schedule provider is null.

See Also