Skip to main content

WorkWeekRule.Add(DayOfWeek, IEnumerable<WorkTime>) Method

Adds the specified day of week to the workweek.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.1.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public WorkDayOfWeek Add(
    DayOfWeek dayOfWeek,
    IEnumerable<WorkTime> workTimes
)

Parameters

Name Type Description
dayOfWeek DayOfWeek

A value that specifies the day of the week.

workTimes IEnumerable<WorkTime>

A collection of objects that specify work intervals.

Returns

Type Description
WorkDayOfWeek

An object that specifies a work day of the week.

See Also