Snippets tagged idisposable

  • Create Disposable

    This pattern is helpful when you want to do something temporarily and then restore some state. This was inspired by the System.Disposable.Disposable() class defined in System.Core.dll distributed by the Reactive Extensions for .NET (Rx) library.

    36 people like this

    Posted: 13 years ago by Cesar Mendoza

  • IDisposable in a Type

    This sample illustrates how to use an IDisposable inside an object, as well as a simple use of object expression

    4 people like this

    Posted: 11 years ago by nicolas2