/// <summary> /// Sets up a module after it has been added to the <see cref="P:DevExpress.ExpressApp.XafApplication.Modules"/> collection. /// </summary> /// <param name="application">An <see cref="T:DevExpress.ExpressApp.XafApplication"/> object that provides methods and properties to manage the current application. This parameter value is set for the <see cref="P:DevExpress.ExpressApp.ModuleBase.Application"/> property.</param> public override void Setup(XafApplication application) { base.Setup(application); // initialize services StorageService.Instance.Initialize(application, ReplicaStorageConnectionString, typeof(Package), typeof(Ticket)); ProtocolService.Initialize(application, StorageService.Instance, LoadService); MessagingService.Initialize(application); }