SchedulerStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the SchedulerStorageBase.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll


public void SetResourceFactory(
    IResourceFactory resourceFactory
Public Sub SetResourceFactory(
    resourceFactory As IResourceFactory


Name Type Description
resourceFactory IResourceFactory

An object, implementing the IResourceFactory interface, which specifies the new resource factory for the storage.


Use the SetResourceFactory method to specify a custom resource factory for the resource storage. This factory is used to create new resources via the SchedulerStorageBase.CreateResource method.

See Also