Class RecurrenceDaysExtensions
RecurrenceDays extensions methods.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public static class RecurrenceDaysExtensions
Methods
AddDay(RecurrenceDays, RecurrenceDays)
Adds the day.
Declaration
public static RecurrenceDays AddDay(this RecurrenceDays recurrenceDays, RecurrenceDays dayToAdd)
Parameters
RecurrenceDays
recurrenceDays
The recurrence days. |
RecurrenceDays
dayToAdd
The day to add. |
Returns
RecurrenceDays
|
GetDayOfWeek(RecurrenceDays)
Gets the day of week.
Declaration
public static DayOfWeek GetDayOfWeek(this RecurrenceDays recurrenceDays)
Parameters
RecurrenceDays
recurrenceDays
The recurrence days. |
Returns
System.DayOfWeek
|
Exceptions
System.ArgumentException
|
GetDaysOfWeek(RecurrenceDays)
Gets the days of week.
Declaration
public static IEnumerable<DayOfWeek> GetDaysOfWeek(this RecurrenceDays recurrenceDays)
Parameters
RecurrenceDays
recurrenceDays
The recurrence days. |
Returns
System.Collections.Generic.IEnumerable<System.DayOfWeek>
|
GetRecurrenceDay(DayOfWeek)
Gets the recurrence day.
Declaration
public static RecurrenceDays GetRecurrenceDay(this DayOfWeek dayOfWeek)
Parameters
System.DayOfWeek
dayOfWeek
The day of week. |
Returns
RecurrenceDays
|
Exceptions
System.ArgumentOutOfRangeException
|
HasDay(RecurrenceDays, DayOfWeek)
Determines whether the specified recurrence days has day.
Declaration
public static bool HasDay(this RecurrenceDays recurrenceDays, DayOfWeek dayToCompare)
Parameters
RecurrenceDays
recurrenceDays
The recurrence days. |
System.DayOfWeek
dayToCompare
The day to compare. |
Returns
System.Boolean
|
HasDay(RecurrenceDays, RecurrenceDays)
Determines whether the specified recurrence days has day.
Declaration
public static bool HasDay(this RecurrenceDays recurrenceDays, RecurrenceDays dayToCompare)
Parameters
RecurrenceDays
recurrenceDays
The recurrence days. |
RecurrenceDays
dayToCompare
The day to compare. |
Returns
System.Boolean
|