Skip to main content

FreeTimeCalculator Members

Enables you to find available spare time intervals within the specified period.

Constructors

Name Description
FreeTimeCalculator(ISchedulerStorageBase) Initializes a new instance of the FreeTimeCalculator class.

Properties

Name Description
ApplyAppointmentFilters Gets or sets whether the search for free time intervals is performed considering only filtered appointments.
Storage Gets the storage, containing the appointments for which calculations are performed.

Methods

Name Description
CalculateFreeTime(TimeInterval, Resource) Finds all time intervals that are not in use for the specified resource.
CalculateFreeTime(TimeInterval) Finds all time intervals that are not in use within the specified time period.
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.
FindFreeTimeInterval(TimeInterval, Resource, TimeSpan, Boolean) Performs a search for the time slot with the specified minimum duration within the specified interval, and assigned to the specified resource.
FindFreeTimeInterval(TimeInterval, TimeSpan, Boolean) Performs a search for the nearest available time slot with the specified duration within the specified interval.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
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.

Events

Name Description
IntervalFound This event is raised for each interval before it is added to the collection. It enables you to change a free interval after it is found.
See Also