Stories recently tagged with 'IDisposable'

All about the IDisposible Pattern(gregbeech.com)

submitted by hakkiyilmazhakkiyilmaz(80) 2 years, 10 months ago

Why and how to implement IDisposible pattern in your own code. Here you will find almost all aspects of this pattern read more...

add a comment |category: |Views: 438

tags: another

A Thread-Safe IDisposable Base Class(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 7 months ago

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. read more...

add a comment |category: |Views: 117

tags: another

Disposing of the IDisposable implementation(davybrion.com)

submitted by DavyBrionDavyBrion(345) 3 years, 7 months ago

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 read more...

add a comment |category: |Views: 32

tags: another

Implementing IDisposable Interface In JavaScript Class - ASP.NET AJAX(blog.devarchive.net)

submitted by kirchikirchi(240) 3 years, 11 months ago

Implementing IDisposable interface using ASP.NET AJAX library to simplify creation of cross-browser disposable javascript classes. read more...

add a comment |category: |Views: 9

tags: another

Dispose Pattern and Object Lifetime(blogs.msdn.com)

submitted by jessejesse(100) 4 years, 3 months ago

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. read more...

add a comment |category: |Views: 18

tags: another

Understand C#: Proper use IDisposable and using keyword(coderjournal.com)

submitted by zigamorphzigamorph(3314) 4 years, 4 months ago

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 be GDI+ calls, SQL Driver calls, Disk IO calls, or basically anything that cannot be accounted for by the Garbage Collector. read more...

add a comment |category: |Views: 270

tags: another

IDisposable reloaded(ajdotnet.wordpress.com)

submitted by ajdotnetajdotnet(2940) 4 years, 5 months ago

Further thoughts and corrections about IDisposable (sequel to "IDisposable – 1, 2, 3, …"). read more...

add a comment |category: |Views: 6

tags: another

IDisposable – 1, 2, 3, …(ajdotnet.wordpress.com)

submitted by ajdotnetajdotnet(2940) 4 years, 8 months ago

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. read more...

4 comments |category: |Views: 13

tags: another

Common Pattern For Working With DataReader(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 4 months ago

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! read more...

add a comment |category: |Views: 73

tags: another

What You Should Dispose When Using ADO.NET (vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 4 months ago

An article pointing out what should be disposed while working with ADO.NET but often is not! read more...

2 comments |category: |Views: 27

tags: another