I'm currently trying to use the DataImporter.Importing events, however it's marked as obsolete. Which is find however the alternative IRegisterImportExportEvents is unlocatable. I've searched Google and EPi, not references. I'm tempted to ignore this error, however i would like a good excuse!
Warning CS0618 'DataImporter.Importing' is obsolete: 'Use IRegisterImportExportEvents.Importing to get hold of IDataImporter'
Warning CS0618 'DataImporter.ContentImporting' is obsolete: 'Use IRegisterImportExportEvents.Importing to get hold of IDataImporter and hookup instance events'
The Obsolete message is unfortunately wrong here. The events are exposed on EPiServer.Enterprise.IDataImportEvents. The instance of the interface can be retreived from the IOC container
I'm currently trying to use the DataImporter.Importing events, however it's marked as obsolete. Which is find however the alternative IRegisterImportExportEvents is unlocatable. I've searched Google and EPi, not references. I'm tempted to ignore this error, however i would like a good excuse!
Warning CS0618 'DataImporter.Importing' is obsolete: 'Use IRegisterImportExportEvents.Importing to get hold of IDataImporter'
Warning CS0618 'DataImporter.ContentImporting' is obsolete: 'Use IRegisterImportExportEvents.Importing to get hold of IDataImporter and hookup instance events'