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

ResourceStorageBase.SetResourceFactory(IResourceFactory) Method

Assigns the specified resource factory to the ResourceStorageBase.

Namespace: DevExpress.XtraScheduler

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

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