コード例 #1
0
 public void BeginTrack()
 {
     ThreadHelper.JoinableTaskFactory.Run(async() =>
     {
         await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
         RunningDocumentTable.AdviseRunningDocTableEvents(this, out _cookie);
     });
 }
コード例 #2
0
        private void ConnectRunningDocumentTable()
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            if (_runningDocTableEventCookie == 0)
            {
                RunningDocumentTable?.AdviseRunningDocTableEvents(this, out _runningDocTableEventCookie);
            }
        }
コード例 #3
0
 public void BeginTrack()
 {
     RunningDocumentTable.AdviseRunningDocTableEvents(this, out _cookie);
 }
コード例 #4
0
 private void InitializeRunningDocumentTable()
 {
     RunningDocumentTable?.AdviseRunningDocTableEvents(this, out _runningDocumentTableCookie);
 }