New to Telerik UI for ASP.NET Core? Start a free 30-day trial

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 object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the SchedulerResourceFactory<T> class.

C#
public SchedulerResourceFactory(Scheduler<T> container)
Parameters:containerScheduler<T>

The container

Methods

Defines a Scheduler resource.

C#
public SchedulerResourceBuilder<T> Add<TValue>(Expression<Func<T, TValue>> expression)
Parameters:expressionExpression<Func<T, TValue>>

An expression that identifies the resource field.

Returns:

SchedulerResourceBuilder<T>

Returns a SchedulerResourceBuilder<T> instance that can be used to configure the resource.

Exceptions: InvalidOperationException

Thrown when the expression is not bindable.