Skip to main content

WorkWeekRule Members

Represents a regular workweek schedule.

Constructors

Name Description
WorkWeekRule() Initializes a new instance of the WorkWeekRule class.
WorkWeekRule(GanttControl) Initializes a new WorkWeekRule class instance.

Properties

Name Description
Item[DayOfWeek] Returns a WorkDayOfWeek object that specifies the work day schedule for the specified day of the week.

Methods

Name Description
Add(WorkDayOfWeek) Adds the specified day of week to the workweek.’
Add(DayOfWeek, WorkTime[]) Adds the specified day of week to the workweek.
Add(DayOfWeek, IEnumerable<WorkTime>) Adds the specified day of week to the workweek.
AddNonWorkDay(DayOfWeek) Adds the specified day of the week to the workweek schedule as a non-work day.
AddRange(WorkDayOfWeek[]) Adds an array to the collection.
AddWorkDay(DayOfWeek) Adds the specified day of the week to the workweek schedule.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDefaultWorkTime(DayOfWeek) For internal use.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Includes(DateTime) Returns whether the rules includes the specified date. Inherited from BaseRule.
Includes(Int64) For internal use.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also