Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. protected virtual void Dispose(bool disposing)
  2. {
  3. // The reason for this type to implement IDisposable is that it contains instances of types that implement
  4. // IDisposable (content).
  5. if (disposing && !_disposed)
  6. {
  7. _disposed = true;
  8. if (_content != null)
  9. {
  10. _content.Dispose();
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement