Skip to main content

IAppointmentDependencyStorage.SetAppointmentDependencyFactory(IAppointmentDependencyFactory) Method

Assigns the specified factory to the appointment dependency storage.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

void SetAppointmentDependencyFactory(
    IAppointmentDependencyFactory factory
)

Parameters

Name Type Description
factory IAppointmentDependencyFactory

An object implementing the IAppointmentDependencyFactory interface which specifies the new appointment dependency factory for the storage.

Remarks

Use the SetAppointmentDependencyFactory method to specify a custom appointment dependency factory for the storage. New dependencies are created with the factory’s IAppointmentDependencyFactory.CreateAppointmentDependency method. Thus, a customized factory can be used to generate appointment dependency descendants instead of native appointment dependencies within the Scheduler.

See Also