By tag: IDisposable
0
kicks
All about the IDisposible Pattern
Why and how to implement IDisposible pattern in your own code. Here you will find almost all aspects of this pattern
0
kicks
A Thread-Safe IDisposable Base Class
Davy Brion came up with an IDisposable base class to provide the needed plumbing for IDisposable types. This implementation takes it a bit further and provides thread safety.
0
kicks
Disposing of the IDisposable implementation
Shows a way to put the recommended IDisposable implementation in a base class, with virtual methods to perform the actual disposal of IDisposables at the right time
0
kicks
Implementing IDisposable Interface In JavaScript Class - ASP.NET AJAX
Implementing IDisposable interface using ASP.NET AJAX library to simplify creation of cross-browser disposable javascript classes.
0
kicks
Dispose Pattern and Object Lifetime
The Base Class Library Team at Microsoft provides a great overview of the dispose pattern and object lifetime in the CLR, with links to other interesting object lifetime articles at the bottom.
0
kicks
Understand C#: Proper use IDisposable and using keyword
Most System.Data, System.IO and System.Windows.Controls objects use the IDisposable interface, as well as many others, to free up unmanaged resources that may have been created when the object was initialized. Unmanaged resources are any calls that are made outside of the .NET environment, this can ...
0
kicks
IDisposable reloaded
Further thoughts and corrections about IDisposable (sequel to "IDisposable – 1, 2, 3, …").
0
kicks
IDisposable – 1, 2, 3, …
IDisposable is one of these beasts. Considered to be common knowledge and yet regularly ignored. A well documented pattern and yet occasionaly improperly applied. And this is just the beginning; the finer details are lost more often than not.
0
kicks
Common Pattern For Working With DataReader
A description of a common pattern for working with DataReader object which as described here:
http://vaultofthoughts.net/WhatYouShouldDisposeWhenUsingADONET.aspx
Is IDisposable and should be disposed!
0
kicks
What You Should Dispose When Using ADO.NET
An article pointing out what should be disposed while working with ADO.NET but often is not!