Creates resources for the Scheduler<T> class.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
C#
public class SchedulerResourceFactory<T> where T : class, ISchedulerEvent
Inheritance: objectSchedulerResourceFactory<T>
Inherited Members
Constructors
Initializes a new instance of the SchedulerResourceFactory<T> class.
C#
public SchedulerResourceFactory(Scheduler<T> container)
The container
Methods
Defines a Scheduler resource.
C#
public SchedulerResourceBuilder<T> Add<TValue>(Expression<Func<T, TValue>> expression)
An expression that identifies the resource field.
Returns:Returns a SchedulerResourceBuilder<T> instance that can be used to configure the resource.
Exceptions: InvalidOperationExceptionThrown when the expression is not bindable.