MindFusion.Scheduling for ASP.NET Programmer's Guide
Schedule Members
Constructors Fields Properties Methods Events
 


Represents a timetable of scheduled events. In the model-view architecture, Schedule instances are the documents whose data is displayed by Calendar instances, which are the views.

The following tables list the members exposed by the Schedule type.

 Public Constructors

  Name Description

Schedule

Initializes a new instance of the Schedule class.

 Public Fields

  Name Description

CurrentVersion

Defines the current version of the schedule file format.

 Public Properties

  Name Description

Contacts

Gets a collection with all Contact objects defined in the Schedule.

IsTrackingViewState

Gets a value that indicates if the Schedule is saving changes to its view state.

Items

Gets a list with all Item objects in the Schedule.

Locations

Gets a list with all Location objects defined in the Schedule.

Resources

Gets a list with all Resource objects defined in the Schedule.

Tasks

Gets a list with all Task objects defined in this Schedule.

 Public Methods

  Name Description

Clear

Clears all items, tasks, locations, contacts and resources from this Schedule.

Dispose

Disposes any resources used by this Schedule object.

GetAllItems

Overloaded. Retrieves a collection of events in a specified time interval.

GetFreePeriod

Overloaded. Returns a period of time with a specified duration, which is not occupied by items.

GetItemsToRemindOf

Overloaded. Retrieves a collection of all items whose reminders must be displayed.

GetTasksToRemindOf

Overloaded. Retrieves a collection of all tasks whose reminders must be displayed.

IsClassRegistered

Overloaded. Checks whether a class is registered for serializaiton.

LoadFrom

Loads the schedule data from a file.

LoadFromStream

Loads schedule data from a binary stream.

LoadFromString

Loads data for the schedule from a string.

LoadFromXml

Loads schedule data from an XML document.

LoadViewState

Restores view-state information for the Schedule from a ViewState object that was saved by the SaveViewState method.

RegisterItemClass

Registers a schedule Item class for serialization support.

RegisterResourceClass

Registers a Resource class for serialization support.

SaveTo

Saves the schedule to a file.

SaveToStream

Saves the schedule to a binary stream.

SaveToString

Saves the schedule data into a string.

SaveToXml

Saves the schedule to an XML document.

SaveViewState

Saves any changes in the ViewState of the Schedule.

TrackViewState

Causes tracking of view-state changes made to the Schedule.

UnregisterClass

Overloaded. Unregisters a class from the serialization system.

 Protected Methods

  Name Description

OnDeserializeTag

Raises the DeserializeTag event.

OnExceptionCreated

Raises the ExceptionCreated event.

OnInstantiateItem

Raises the InstantiateItem event.

OnInstantiateResource

Raises the InstantiateResource event.

OnItemEndTimeChanged

Raises the ItemEndTimeChanged event.

OnItemStartTimeChanged

Raises the ItemStartTimeChanged event.

OnItemVisualsChanged

Raises the ItemVisualsChanged event.

OnRecurrenceReset

Raises the RecurrenceReset event.

OnSerializeTag

Raises the SerializeTag event.

 Public Events

  Name Description

Changed

Raised when items are added or removed from the schedule or when the schedule is loaded.

DeserializeTag

Raised during XML deserialization to enable users to perform custom deserialization of the tag values of Item and Resource objects.

ExceptionCreated

Raised when a recurrence exception item is created.

InstantiateItem

Raised when deserializing a custom Item whose type has not been registered.

InstantiateResource

Raised when deserializing a custom Resource whose type has not been registered.

ItemEndTimeChanged

Raised when the EndTime property of an Item in this Schedule has changed.

ItemStartTimeChanged

Raised when the StartTime of an Item has changed.

ItemVisualsChanged

Raised when the appearance of an Item in the schedule has changed.

RecurrenceReset

Raised when the recurrence pattern associated with an item has been reset, causing all associated exception items to be lost.

SerializeTag

Raised during XML serialization to enable users to perform custom serialization of the tag values of items and resources.

 See Also

Schedule Class
MindFusion.Scheduling Namespace