Exemplo n.º 1
0
 internal BackgroundCopyJob(IBackgroundCopyJob ijob)
 {
     if (ijob == null)
     {
         throw new ArgumentNullException("IBackgroundCopyJob");
     }
     m_ijob  = ijob;
     m_files = new BackgroundCopyFileSet(ijob);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Disposes of the BackgroundCopyJob object.
 /// </summary>
 public void Dispose()
 {
     try
     {
         this.NotifyFlags = 0;
         m_ijob.SetNotifyInterface(null);
     }
     catch { }
     m_files = null;  m_ijob = null; m_ijob2 = null; m_ijob3 = null; m_notifier = null;
 }