Class AppointmentExtensions
Extension methods for IAppointment interface.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public static class AppointmentExtensions : Object
Methods
GetOccurences(IEnumerable<IAppointment>, IDateSpan)
Gets the occurrences from the given range.
Declaration
public static IEnumerable<Occurrence> GetOccurences(this IEnumerable<IAppointment> source, IDateSpan span)
Parameters
System.Collections.Generic.IEnumerable<IAppointment>
source
|
IDateSpan
span
|
Returns
System.Collections.Generic.IEnumerable<Occurrence>
|
GetOccurrences(IAppointment, DateTime, DateTime)
Gets occurrences of the appointment. Generate the appointment's occurrences for a given interval.
Declaration
public static IList<Occurrence> GetOccurrences(this IAppointment appointment, DateTime from, DateTime to)
Parameters
IAppointment
appointment
The appointment. |
System.DateTime
from
From date. |
System.DateTime
to
To date. |
Returns
System.Collections.Generic.IList<Occurrence>
|
GetOccurrencesWithoutExceptionsFromDateTimeRange(IAppointment, DateTime, DateTime)
Gets the occurrences without exceptions from the given range.
Declaration
public static IList<Occurrence> GetOccurrencesWithoutExceptionsFromDateTimeRange(this IAppointment appointment, DateTime from, DateTime to)
Parameters
IAppointment
appointment
The appointment. |
System.DateTime
from
From. |
System.DateTime
to
To. |
Returns
System.Collections.Generic.IList<Occurrence>
|
IsAllDay(IAppointment)
Determines whether the specified appointment is an all-day appointment.
Declaration
public static bool IsAllDay(this IAppointment appointment)
Parameters
IAppointment
appointment
|
Returns
System.Boolean
|