コード例 #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (!RevisionListBox.IsDisposed)
         {
             RevisionListBox.Clear();
         }
     }
     base.Dispose(disposing);
 }
コード例 #2
0
        public RevisionLogBinding(ILogSource logSource, RevisionListBox revisionListBox, LogOptions logOptions)
        {
            Verify.Argument.IsNotNull(logSource, nameof(logSource));
            Verify.Argument.IsNotNull(revisionListBox, nameof(revisionListBox));
            Verify.Argument.IsNotNull(logOptions, nameof(logOptions));

            _logSource       = logSource;
            _revisionListBox = revisionListBox;
            _logOptions      = logOptions;

            Progress = _revisionListBox.ProgressMonitor;
        }