Interface
ISchedulerProvider<T>

Base interface for providers.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Type Parameters:

T

The type used to specialize the provider implementation.

Syntax:

cs-api-definition
public interface ISchedulerProvider<T>

Properties

Mapping

Gets or sets a data store mapping to the provider.

Declaration

cs-api-definition
IMappingInfo Mapping { get; set; }

Property Value

IMappingInfo

Methods

Delete(T)

Removes the first occurrence of a specific item from the data store.

Declaration

cs-api-definition
void Delete(T itemToDelete)

Parameters

itemToDelete

T

The item of type T to delete.

GetItems(Predicate<T>)

Gets IEnumerable<T> for items that match the conditions defined by the specified predicate.

Declaration

cs-api-definition
IEnumerable<T> GetItems(Predicate<T> filterFunction)

Parameters

filterFunction

Predicate<T>

The Predicate<T> delegate that defines the conditions of the item to search for.

Returns

IEnumerable<T>

IEnumerable<T> for items that match the conditions defined by the specified predicate, if found;

Insert(T)

Inserts an item of type T.

Declaration

cs-api-definition
void Insert(T itemToInsert)

Parameters

itemToInsert

T

The item of type T to insert.

Update(T, string)

Updates he first occurrence of a specific item in the data store.

Declaration

cs-api-definition
void Update(T itemToUpdate, string propertyName)

Parameters

itemToUpdate

T

The item of type T to update.

propertyName

string

Name of the property which value changed. Null or an empty string if all properties should be updated.

Events

ItemsChanged

The ItemsChanged event is raised by the provider to inform all listeners that the items in the data store have changed.

Declaration

cs-api-definition
event EventHandler<ListChangedEventArgs<T>> ItemsChanged

Event Value

EventHandler<ListChangedEventArgs<T>>