private void InitializeOneNoteAccessor() { try { onenoteAccessor = new OneNoteAccessor(); onenoteAccessor.OnProgressEvent += onenoteAccessor_OnProgressEvent; onenoteAccessor.OnAbortedEvent += onenoteAccessor_OnAbortedEvent; onenoteAccessor.InitializeOneNoteWrapper(); } catch (System.Exception exception) { etc.LoggerHelper.LogException(exception); } }
private void InitializeOneNoteAccessor() { try { _accessor = new OneNoteAccessor(); _accessor.OnUpdatedScanProgress += _accessor_OnUpdatedScanProgress; ; _accessor.InitializeOneNoteWrapper(); } catch (System.Exception exception) { etc.LoggerHelper.LogException(exception); } }