Skip to main content

SchedulerStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the SchedulerStorageBase.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public void SetResourceFactory(
    IResourceFactory resourceFactory
)

Parameters

Name Type Description
resourceFactory IResourceFactory

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

Remarks

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