Back to Devexpress

SchedulerStorageBase.SetResourceFactory(IResourceFactory) Method

corelibraries-devexpress-dot-xtrascheduler-dot-schedulerstoragebase-dot-setresourcefactory-x28-devexpress-dot-xtrascheduler-dot-iresourcefactory-x29.md

latest2.0 KB
Original Source

SchedulerStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the SchedulerStorageBase.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public void SetResourceFactory(
    IResourceFactory resourceFactory
)
vb
Public Sub SetResourceFactory(
    resourceFactory As IResourceFactory
)

Parameters

NameTypeDescription
resourceFactoryIResourceFactory

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.

Implements

SetResourceFactory(IResourceFactory)

See Also

SchedulerStorageBase Class

SchedulerStorageBase Members

DevExpress.XtraScheduler Namespace