Skip to main content

ResourceStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the ResourceStorageBase.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public void SetResourceFactory(
    IResourceFactory factory
)

Parameters

Name Type Description
factory 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