Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposing)
     {
         return;
     }
     Background?.Dispose();
     Background = null;
 }
Example #2
0
 protected BackgroundProducer()
 {
     Background = new BackgroundThreadProducer <T>();
 }