IAppointmentDependencyStorage.SetAppointmentDependencyFactory(IAppointmentDependencyFactory) Method
Assigns the specified factory to the appointment dependency storage.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
void SetAppointmentDependencyFactory(
IAppointmentDependencyFactory factory
)
#Parameters
Name | Type | Description |
---|---|---|
factory | IAppointment |
An object implementing the IAppointment |
#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.