A newer version of this page is available. Switch to the current version.

SchedulerStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the SchedulerStorageBase.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

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

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