Initializes a new instance of the Schedule class.
Namespace:
DlhSoft.Windows.DataAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentNullException | The specified day schedule provider is null. |