public override void Init() { base.Init(); _saveService = App.GetService<IBackgroundSaveService>(); _saveService.RegisterObjectHandler(typeof(OperationLogEntry), this); _saveService.RegisterObjectHandler(typeof(SystemLogEntry), new SystemLogEntrySaveHandler()); //Registering handler for LogEntry would cover all derived classes }
public override void Init() { base.Init(); _saveService = App.GetService<IBackgroundSaveService>(); _saveService.RegisterObjectHandler(typeof(TransactionLogEntry), this); SetupUpdateLogging(); }
public override void Init() { base.Init(); _backgroundSave = App.GetService<IBackgroundSaveService>(); _backgroundSave.RegisterObjectHandler(typeof(LoginLogEntry), this); }
public override void Init() { base.Init(); _backgroundSave = App.GetService <IBackgroundSaveService>(); _backgroundSave.RegisterObjectHandler(typeof(LoginLogEntry), this); }
public override void Init() { base.Init(); _backgroundSaveService = App.GetService <IBackgroundSaveService>(); _backgroundSaveService.RegisterObjectHandler(typeof(WebCallContext), this); }
public override void Init() { base.Init(); _backgroundSaveService = App.GetService<IBackgroundSaveService>(); _backgroundSaveService.RegisterObjectHandler(typeof(WebCallContext), this); }